I created a chart using MPL Finance, here is how i did it:
chart = mpf.plot(df, type='candle', figratio=(20,9), style="nightclouds", savefig='plottedCharts/TEST.png', volume=True)
Where df
is my Pandas dataframe. I'm trying to add square dots to some important points on the chart, like this:
plt.scatter('2020-05-16 13:30', 9300, marker='s', c='b', s=1)
But when i try this, nothing appears on the chart. Is there any way to achieve this?