Skip to content

Commit ba757d9

Browse files
committed
Make zdir key-word only
1 parent 1e809b3 commit ba757d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2590,6 +2590,7 @@ def add_collection3d(self, col, zs=0, zdir='z'):
25902590
@_preprocess_data(replace_names=["xs", "ys", "zs", "s",
25912591
"edgecolors", "c", "facecolor",
25922592
"facecolors", "color"])
2593+
@_api.make_keyword_only("3.9", "zdir")
25932594
def scatter(self, xs, ys, zs=0, zdir='z', s=20, c=None, depthshade=True,
25942595
*args, **kwargs):
25952596
"""
@@ -2667,6 +2668,7 @@ def scatter(self, xs, ys, zs=0, zdir='z', s=20, c=None, depthshade=True,
26672668
scatter3D = scatter
26682669

26692670
@_preprocess_data()
2671+
@_api.make_keyword_only("3.9", "zdir")
26702672
def bar(self, left, height, zs=0, zdir='z', *args, **kwargs):
26712673
"""
26722674
Add 2D bar(s).

0 commit comments

Comments
 (0)