We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43a6cb1 commit 14304a8Copy full SHA for 14304a8
src/mplfinance/plotting.py
@@ -304,9 +304,10 @@ def _valid_plot_kwargs():
304
'Description' : 'fill between specification as y-value, or sequence of'+
305
' y-values, or dict containing key "y1" plus any additional'+
306
' kwargs for `fill_between()`',
307
- 'Validator' : lambda value: _num_or_seq_of_num(value) or
+ 'Validator' : lambda value: _num_or_seq_of_num(value) or
308
(isinstance(value,dict) and 'y1' in value and
309
- _num_or_seq_of_num(value['y1'])) },
+ _num_or_seq_of_num(value['y1'])) or
310
+ isinstance(value,(list,tuple))},
311
312
'tight_layout' : { 'Default' : False,
313
'Description' : 'True|False implement tight layout (minimal padding around Figure)'+
0 commit comments