dodid

Results 5 comments of dodid

Setting xlim gives me this error: ``` xlim = (ohlc.index[0], ohlc.index[-1]) mpf.plot(ohlc, type='candle', figsize=(17, 5), style='yahoo', show_nontrading=True, xlim=xlim) ``` ``` TypeError Traceback (most recent call last) in 1 xlim =...

Also it's better not to have any margin along x axis by default, then we don't need to manually set xlim. Another issue is that the xtick label ignores the...

Here are the code and data. Thanks for the workaround. ``` xlim = (ohlc.index[0], ohlc.index[-1]) mpf.plot(ohlc, type='candle', figsize=(17, 5), style='yahoo', show_nontrading=True, xlim=xlim) ``` [ohlc.zip](https://github.com/matplotlib/mplfinance/files/5362358/ohlc.zip)

Append `or column.dtype == 'timedelta64[ns]'` to https://github.com/streamlit/streamlit/blob/d774bedfb3712fa9124ea57c94ed5628fbd06626/lib/streamlit/type_util.py#L613 fix the problem for me. In some cases, also need to add `df = fix_arrow_incompatible_column_types(df)` in front of https://github.com/streamlit/streamlit/blob/d774bedfb3712fa9124ea57c94ed5628fbd06626/lib/streamlit/type_util.py#L669 to force conversion.

I made an attempt to support multiple instruments based on kernc's excellent work. See https://github.com/dodid/minitrade The support is quite basic and feedback is welcome on how to make it more...