8000 Extend 3D axlim_clip to fill_between · matplotlib/matplotlib@9cb133f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9cb133f

Browse files
Extend 3D axlim_clip to fill_between
1 parent 40c34f3 commit 9cb133f

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
@@ -1963,7 +1963,7 @@ def plot(self, xs, ys, *args, zdir='z', axlim_clip=False, **kwargs):
19631963

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

20812084
polyc = art3d.Poly3DCollection(polys, facecolors=facecolors, shade=shade,
2082-
**kwargs)
2085+
axlim_clip=axlim_clip, **kwargs)
20832086
self.add_collection(polyc)
20842087

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

0 commit comments

Comments
 (0)
0