Skip to content

Commit eedb589

Browse files
committed
Preprocessor Decorator added for 3d axes scatter function
1 parent 47077d1 commit eedb589

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import numpy as np
2121

22-
from matplotlib import _api, cbook, docstring
22+
from matplotlib import _api, cbook, docstring, _preprocess_data
2323
import matplotlib.artist as martist
2424
import matplotlib.axes as maxes
2525
import matplotlib.collections as mcoll
@@ -2270,7 +2270,11 @@ def add_collection3d(self, col, zs=0, zdir='z'):
22702270

22712271
collection = super().add_collection(col)
22722272
return collection
2273-
2273+
2274+
@_preprocess_data(replace_names=["xs", "ys", "zs", "s",
2275+
"edgecolors", "c", "facecolor",
2276+
"facecolors", "color"],
2277+
label_namer=None)
22742278
def scatter(self, xs, ys, zs=0, zdir='z', s=20, c=None, depthshade=True,
22752279
*args, **kwargs):
22762280
"""

0 commit comments

Comments
 (0)