Skip to content

Commit 0b5639c

Browse files
Merge pull request #35 from amiaty/patch-1
minor issue on chart type validator
2 parents a469271 + 3890663 commit 0b5639c

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
@@ -60,7 +60,7 @@ def _valid_plot_kwargs():
6060

6161
vkwargs = {
6262
'type' : { 'Default' : 'ohlc',
63-
'Validator' : lambda value: value in ['candle','candlestick','ohlc','bars','ohlc bars','line'] },
63+
'Validator' : lambda value: value in ['candle','candlestick','ohlc','bars','ohlc_bars','line'] },
6464

6565
'style' : { 'Default' : 'default',
6666
'Validator' : lambda value: value in _styles.available_styles() or isinstance(value,dict) },

0 commit comments

Comments
 (0)