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

Skip to content

Commit 84e2a56

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #17742: Update tricontour[f] docs
1 parent 1e3b4b2 commit 84e2a56

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
@@ -1653,7 +1653,7 @@ def _initialize_x_y(self, z):
16531653
By default (value *None*), the colormap specified by *cmap*
16541654
will be used.
16551655
1656-
alpha : float, optional
1656+
alpha : float, default: 1
16571657
The alpha blending value, between 0 (transparent) and 1 (opaque).
16581658
16591659
cmap : str or `.Colormap`, default: :rc:`image.cmap`
@@ -1707,7 +1707,7 @@ def _initialize_x_y(self, z):
17071707
and above the *levels* range.
17081708
17091709
Values below ``min(levels)`` and above ``max(levels)`` are mapped
1710-
to the under/over values of the `.Colormap`. Note, that most
1710+
to the under/over values of the `.Colormap`. Note that most
17111711
colormaps do not have dedicated colors for these by default, so
17121712
that the over and under values are the edge values of the colormap.
17131713
You may want to set these values explicitly using

0 commit comments

Comments
 (0)