Skip to content

Commit f8e742b

Browse files
scottshambaughkyracho
authored andcommitted
Extend 3D axlim_clip to fill_between
1 parent b438e12 commit f8e742b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,7 +1964,7 @@ def plot(self, xs, ys, *args, zdir='z', axlim_clip=False, **kwargs):
19641964

19651965
def fill_between(self, x1, y1, z1, x2, y2, z2, *,
19661966
where=None, mode='auto', facecolors=None, shade=None,
1967-
**kwargs):
1967+
axlim_clip=False, **kwargs):
19681968
"""
19691969
Fill the area between two 3D curves.
19701970
@@ -2010,6 +2010,9 @@ def fill_between(self, x1, y1, z1, x2, y2, z2, *,
20102010
Whether to shade the facecolors. If *None*, then defaults to *True*
20112011
for 'quad' mode and *False* for 'polygon' mode.
20122012
2013+
axlim_clip : bool, default: False
2014+
Whether to hide data that is outside the axes view limits.
2015+
20132016
**kwargs
20142017
All other keyword arguments are passed on to `.Poly3DCollection`.
20152018
@@ -2080,7 +2083,7 @@ def fill_between(self, x1, y1, z1, x2, y2, z2, *,
20802083
polys.append(poly)
20812084

20822085
polyc = art3d.Poly3DCollection(polys, facecolors=facecolors, shade=shade,
2083-
**kwargs)
2086+
axlim_clip=axlim_clip, **kwargs)
20842087
self.add_collection(polyc)
20852088

20862089
self.auto_scale_xyz([x1, x2], [y1, y2], [z1, z2], had_data)

0 commit comments

Comments
 (0)