Skip to content

Commit fd6a460

Browse files
committed
markersize validator extended
1 parent 218a98a commit fd6a460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mplfinance/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ def _valid_addplot_kwargs():
12911291

12921292
'markersize' : { 'Default' : 18,
12931293
'Description' : 'size of marker for `type="scatter"`; default=18',
1294-
'Validator' : lambda value: isinstance(value,(int,float)) },
1294+
'Validator' : lambda value: isinstance(value,(int,float, pd.Series, np.ndarray)) },
12951295

12961296
'color' : { 'Default' : None,
12971297
'Description' : 'color (or sequence of colors) of line(s), scatter marker(s), or bar(s).',

0 commit comments

Comments
 (0)