Matplotlib Candlestick (Intraday) Chart is One Big Blob

前端 未结 2 1351
忘掉有多难
忘掉有多难 2020-12-06 15:01

I am trying to plot a Candlestick chart using Matplotlib with data I am acquiring for a REST API call. However since the call uses a unique access token I\'ve downloaded a s

2条回答
  •  无人及你
    2020-12-06 15:32

    Just change your width on the chart and it will be fine:

    candlestick_ohlc(ax1, ohlc, width=0.001, colorup='#77d879', colordown='#db3f3f')

    Tested using your data and it looks good.

提交回复
热议问题