Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b056107

Browse files
committed
DOC: Use emphasis for other parameters, fix parameters section to render correctly
1 parent 4749752 commit b056107

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,24 +1877,7 @@ def plot_wireframe(self, X, Y, Z, *args, **kwargs):
18771877
def plot_trisurf(self, *args, color=None, norm=None, vmin=None, vmax=None,
18781878
lightsource=None, **kwargs):
18791879
"""
1880-
1881-
Parameters
1882-
----------
1883-
X, Y, Z : array-like
1884-
Data values as 1D arrays
1885-
color
1886-
Color of the surface patches
1887-
cmap
1888-
A colormap for the surface patches.
1889-
norm : Normalize
1890-
An instance of Normalize to map values to colors.
1891-
vmin, vmax : scalar, optional, default: None
1892-
Minimum and maximum value to map.
1893-
shade : bool
1894-
Whether to shade the facecolors. Defaults to True. Shading is
1895-
always disabled when `cmap` is specified.
1896-
lightsource : `~matplotlib.colors.LightSource`
1897-
The lightsource to use when `shade` is True.
1880+
Plot a triangulated surface.
18981881
18991882
The (optional) triangulation can be specified in one of two ways;
19001883
either::
@@ -1919,8 +1902,26 @@ def plot_trisurf(self, *args, color=None, norm=None, vmin=None, vmax=None,
19191902
where *Z* is the array of values to contour, one per point
19201903
in the triangulation.
19211904
1922-
Other arguments are passed on to
1923-
:class:`~mpl_toolkits.mplot3d.art3d.Poly3DCollection`
1905+
Parameters
1906+
----------
1907+
X, Y, Z : array-like
1908+
Data values as 1D arrays.
1909+
color
1910+
Color of the surface patches.
1911+
cmap
1912+
A colormap for the surface patches.
1913+
norm : Normalize
1914+
An instance of Normalize to map values to colors.
1915+
vmin, vmax : scalar, optional, default: None
1916+
Minimum and maximum value to map.
1917+
shade : bool
1918+
Whether to shade the facecolors. Defaults to True. Shading is
1919+
always disabled when *cmap* is specified.
1920+
lightsource : `~matplotlib.colors.LightSource`
1921+
The lightsource to use when *shade* is True.
1922+
**kwargs
1923+
All other arguments are passed on to
1924+
:class:`~mpl_toolkits.mplot3d.art3d.Poly3DCollection`
19241925
19251926
Examples
19261927
--------

0 commit comments

Comments
 (0)