8000 Remove internal warning due to zsort deprecation · matplotlib/matplotlib@11956ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 11956ce

Browse files
committed
Remove internal warning due to zsort deprecation
1 parent 20bfcff commit 11956ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/mplot3d/art3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ def set_3d_properties(self):
583583
# just in case it is a scalarmappable with a colormap.
584584
self.update_scalarmappable()
585585
self._sort_zpos = None
586-
self.set_zsort(True)
586+
self.set_zsort('average')
587587
self._facecolors3d = PolyCollection.get_facecolor(self)
588588
self._edgecolors3d = PolyCollection.get_edgecolor(self)
589589
self._alpha3d = PolyCollection.get_alpha(self)

0 commit comments

Comments
 (0)
0