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

Skip to content

Commit 4a143b9

Browse files
authored
Merge pull request #17742 from QuLogic/tri-docs
Update tricontour[f] docs
2 parents 3bbc78a + 15f15f8 commit 4a143b9

File tree

4 files changed

+174
-133
lines changed

4 files changed

+174
-133
lines changed

doc/api/tri_api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
.. autoclass:: matplotlib.tri.Triangulation
88
:members:
99

10+
.. autoclass:: matplotlib.tri.TriContourSet
11+
:show-inheritance:
12+
1013
.. autoclass:: matplotlib.tri.TriFinder
1114

1215
.. autoclass:: matplotlib.tri.TrapezoidMapTriFinder

doc/missing-references.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,12 +1374,6 @@
13741374
"matplotlib.colorbar.ColorbarBase.set_norm": [
13751375
"doc/api/prev_api_changes/api_changes_3.1.0.rst:290"
13761376
],
1377-
"matplotlib.contour.TriContourSet": [
1378-
"lib/matplotlib/pyplot.py:docstring of matplotlib.pyplot.tricontour:57",
1379-
"lib/matplotlib/pyplot.py:docstring of matplotlib.pyplot.tricontourf:57",
1380-
"lib/matplotlib/tri/tricontour.py:docstring of matplotlib.axes.Axes.tricontour:57",
1381-
"lib/matplotlib/tri/tricontour.py:docstring of matplotlib.axes.Axes.tricontourf:57"
1382-
],
13831377
"matplotlib.dates.rrulewrapper": [
13841378
"lib/matplotlib/dates.py:docstring of matplotlib.dates:121"
13851379
],

lib/matplotlib/contour.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@ def _initialize_x_y(self, z):
16461646
By default (value *None*), the colormap specified by *cmap*
16471647
will be used.
16481648
1649-
alpha : float, optional
1649+
alpha : float, default: 1
16501650
The alpha blending value, between 0 (transparent) and 1 (opaque).
16511651
16521652
cmap : str or `.Colormap`, default: :rc:`image.cmap`
@@ -1700,7 +1700,7 @@ def _initialize_x_y(self, z):
17001700
and above the *levels* range.
17011701
17021702
Values below ``min(levels)`` and above ``max(levels)`` are mapped
1703-
to the under/over values of the `.Colormap`. Note, that most
1703+
to the under/over values of the `.Colormap`. Note that most
17041704
colormaps do not have dedicated colors for these by default, so
17051705
that the over and under values are the edge values of the colormap.
17061706
You may want to set these values explicitly using

0 commit comments

Comments
 (0)