Skip to content

Commit d1c41de

Browse files
Merge branch '3d_dynamic_masking' of github.com:scottshambaugh/matplotlib into 3d_dynamic_masking
2 parents af72d4c + 2ebe03e commit d1c41de

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

doc/missing-references.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@
324324
"lib/matplotlib/quiver.py:docstring of matplotlib.artist.Quiver.set:45",
325325
"lib/matplotlib/quiver.py:docstring of matplotlib.quiver.Barbs:212",
326326
"lib/matplotlib/quiver.py:docstring of matplotlib.quiver.Quiver:251",
327-
"lib/mpl_toolkits/mplot3d/art3d.py:docstring of matplotlib.artist.Path3DCollection.set:49",
328-
"lib/mpl_toolkits/mplot3d/art3d.py:docstring of matplotlib.artist.Poly3DCollection.set:47"
327+
"lib/mpl_toolkits/mplot3d/art3d.py:docstring of matplotlib.artist.Path3DCollection.set:47",
328+
"lib/mpl_toolkits/mplot3d/art3d.py:docstring of matplotlib.artist.Poly3DCollection.set:45"
329329
],
330330
"matplotlib.collections._MeshData.set_array": [
331331
"lib/matplotlib/axes/_axes.py:docstring of matplotlib.axes._axes.Axes.pcolormesh:164",

lib/mpl_toolkits/mplot3d/axes3d.py

+38
Original file line numberDiff line numberDiff line change
@@ -1902,6 +1902,8 @@ def text(self, x, y, z, s, zdir=None, *, axlim_clip=False, **kwargs):
19021902
See `.get_dir_vector` for a description of the values.
19031903
axlim_clip : bool, default: False
19041904
Whether to hide text that is outside the axes view limits.
1905+
1906+
.. versionadded:: 3.10
19051907
**kwargs
19061908
Other arguments are forwarded to `matplotlib.axes.Axes.text`.
19071909
@@ -1934,6 +1936,8 @@ def plot(self, xs, ys, *args, zdir='z', axlim_clip=False, **kwargs):
19341936
When plotting 2D data, the direction to use as z.
19351937
axlim_clip : bool, default: False
19361938
Whether to hide data that is outside the axes view limits.
1939+
1940+
.. versionadded:: 3.10
19371941
**kwargs
19381942
Other arguments are forwarded to `matplotlib.axes.Axes.plot`.
19391943
"""
@@ -1972,6 +1976,8 @@ def fill_between(self, x1, y1, z1, x2, y2, z2, *,
19721976
polygons that are filled. All points must be the same length N, or a
19731977
single value to be used for all points.
19741978
1979+
.. versionadded:: 3.10
1980+
19751981
Parameters
19761982
----------
19771983
x1, y1, z1 : float or 1D array-like
@@ -2012,6 +2018,8 @@ def fill_between(self, x1, y1, z1, x2, y2, z2, *,
20122018
axlim_clip : bool, default: False
20132019
Whether to hide data that is outside the axes view limits.
20142020
2021+
.. versionadded:: 3.10
2022+
20152023
**kwargs
20162024
All other keyword arguments are passed on to `.Poly3DCollection`.
20172025
@@ -2157,6 +2165,8 @@ def plot_surface(self, X, Y, Z, *, norm=None, vmin=None,
21572165
axlim_clip : bool, default: False
21582166
Whether to hide patches with a vertex outside the axes view limits.
21592167
2168+
.. versionadded:: 3.10
2169+
21602170
**kwargs
21612171
Other keyword arguments are forwarded to `.Poly3DCollection`.
21622172
"""
@@ -2305,6 +2315,8 @@ def plot_wireframe(self, X, Y, Z, *, axlim_clip=False, **kwargs):
23052315
Whether to hide lines and patches with vertices outside the axes
23062316
view limits.
23072317
2318+
.. versionadded:: 3.10
2319+
23082320
rcount, ccount : int
23092321
Maximum number of samples used in each direction. If the input
23102322
data is larger, it will be downsampled (by slicing) to these
@@ -2452,6 +2464,8 @@ def plot_trisurf(self, *args, color=None, norm=None, vmin=None, vmax=None,
24522464
The lightsource to use when *shade* is True.
24532465
axlim_clip : bool, default: False
24542466
Whether to hide patches with a vertex outside the axes view limits.
2467+
2468+
.. versionadded:: 3.10
24552469
**kwargs
24562470
All other keyword arguments are passed on to
24572471
:class:`~mpl_toolkits.mplot3d.art3d.Poly3DCollection`
@@ -2595,6 +2609,8 @@ def contour(self, X, Y, Z, *args,
25952609
position in a plane normal to *zdir*.
25962610
axlim_clip : bool, default: False
25972611
Whether to hide lines with a vertex outside the axes view limits.
2612+
2613+
.. versionadded:: 3.10
25982614
data : indexable object, optional
25992615
DATA_PARAMETER_PLACEHOLDER
26002616
@@ -2642,6 +2658,8 @@ def tricontour(self, *args,
26422658
position in a plane normal to *zdir*.
26432659
axlim_clip : bool, default: False
26442660
Whether to hide lines with a vertex outside the axes view limits.
2661+
2662+
.. versionadded:: 3.10
26452663
data : indexable object, optional
26462664
DATA_PARAMETER_PLACEHOLDER
26472665
*args, **kwargs
@@ -2699,6 +2717,8 @@ def contourf(self, X, Y, Z, *args,
26992717
position in a plane normal to *zdir*.
27002718
axlim_clip : bool, default: False
27012719
Whether to hide lines with a vertex outside the axes view limits.
2720+
2721+
.. versionadded:: 3.10
27022722
data : indexable object, optional
27032723
DATA_PARAMETER_PLACEHOLDER
27042724
*args, **kwargs
@@ -2739,6 +2759,8 @@ def tricontourf(self, *args, zdir='z', offset=None, axlim_clip=False, **kwargs):
27392759
position in a plane normal to zdir.
27402760
axlim_clip : bool, default: False
27412761
Whether to hide lines with a vertex outside the axes view limits.
2762+
2763+
.. versionadded:: 3.10
27422764
data : indexable object, optional
27432765
DATA_PARAMETER_PLACEHOLDER
27442766
*args, **kwargs
@@ -2797,6 +2819,8 @@ def add_collection3d(self, col, zs=0, zdir='z', autolim=True, *,
27972819
Whether to update the data limits.
27982820
axlim_clip : bool, default: False
27992821
Whether to hide the scatter points outside the axes view limits.
2822+
2823+
.. versionadded:: 3.10
28002824
"""
28012825
had_data = self.has_data()
28022826

@@ -2878,6 +2902,8 @@ def scatter(self, xs, ys,
28782902
independently.
28792903
axlim_clip : bool, default: False
28802904
Whether to hide the scatter points outside the axes view limits.
2905+
2906+
.. versionadded:: 3.10
28812907
data : indexable object, optional
28822908
DATA_PARAMETER_PLACEHOLDER
28832909
**kwargs
@@ -2937,6 +2963,8 @@ def bar(self, left, height, zs=0, zdir='z', *args,
29372963
When plotting 2D data, the direction to use as z ('x', 'y' or 'z').
29382964
axlim_clip : bool, default: False
29392965
Whether to hide bars with points outside the axes view limits.
2966+
2967+
.. versionadded:: 3.10
29402968
data : indexable object, optional
29412969
DATA_PARAMETER_PLACEHOLDER
29422970
**kwargs
@@ -3029,6 +3057,8 @@ def bar3d(self, x, y, z, dx, dy, dz, color=None,
30293057
axlim_clip : bool, default: False
30303058
Whether to hide the bars with points outside the axes view limits.
30313059
3060+
.. versionadded:: 3.10
3061+
30323062
data : indexable object, optional
30333063
DATA_PARAMETER_PLACEHOLDER
30343064
@@ -3187,6 +3217,8 @@ def quiver(self, X, Y, Z, U, V, W, *,
31873217
axlim_clip : bool, default: False
31883218
Whether to hide arrows with points outside the axes view limits.
31893219
3220+
.. versionadded:: 3.10
3221+
31903222
data : indexable object, optional
31913223
DATA_PARAMETER_PLACEHOLDER
31923224
@@ -3328,6 +3360,8 @@ def voxels(self, *args, facecolors=None, edgecolors=None, shade=True,
33283360
axlim_clip : bool, default: False
33293361
Whether to hide voxels with points outside the axes view limits.
33303362
3363+
.. versionadded:: 3.10
3364+
33313365
**kwargs
33323366
Additional keyword arguments to pass onto
33333367
`~mpl_toolkits.mplot3d.art3d.Poly3DCollection`.
@@ -3576,6 +3610,8 @@ def errorbar(self, x, y, z, zerr=None, yerr=None, xerr=None, fmt='',
35763610
axlim_clip : bool, default: False
35773611
Whether to hide error bars that are outside the axes limits.
35783612
3613+
.. versionadded:: 3.10
3614+
35793615
Returns
35803616
-------
35813617
errlines : list
@@ -3893,6 +3929,8 @@ def stem(self, x, y, z, *, linefmt='C0-', markerfmt='C0o', basefmt='C3-',
38933929
axlim_clip : bool, default: False
38943930
Whether to hide stems that are outside the axes limits.
38953931
3932+
.. versionadded:: 3.10
3933+
38963934
data : indexable object, optional
38973935
DATA_PARAMETER_PLACEHOLDER
38983936

0 commit comments

Comments
 (0)