10000 Add missing TriContourSet to matplotlib.tri docs. · matplotlib/matplotlib@2704824 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2704824

Browse files
committed
Add missing TriContourSet to matplotlib.tri docs.
1 parent 59eb11a commit 2704824

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
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/tri/tricontour.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, ax, *args, **kwargs):
3434
3535
The first argument of the initializer must be an axes
3636
object. The remaining arguments and keyword arguments
37-
are described in the docstring of `tricontour`.
37+
are described in the docstring of `~.Axes.tricontour`.
3838
"""
3939
ContourSet.__init__(self, ax, *args, **kwargs)
4040

@@ -164,7 +164,7 @@ def tricontour(ax, *args, **kwargs):
164164
Use keyword args to control colors, linewidth, origin, cmap ... see
165165
below for more details.
166166
167-
`~.Axes.tricontour` returns a `~matplotlib.contour.TriContourSet` object.
167+
`~.Axes.tricontour` returns a `~matplotlib.tri.TriContourSet` object.
168168
169169
Optional keyword arguments:
170170

0 commit comments

Comments
 (0)
0