Hi,
Can someone help me in identifying, new legends displayed on the plot. I'm adding 2 empty entries in mav_titles to match SMA colors
mav_titles = ['','','9 SMA' ,'50 SMA', '200 SMA' ]
fig, axes = mpf.plot(df,type='candle',mav=(9,50,200),volume=True,returnfig=True, style='yahoo')
axes[0].legend(mav_titles)
axes[0].set_title(ticker)

Thank you.
Hi,
Can someone help me in identifying, new legends displayed on the plot. I'm adding 2 empty entries in mav_titles to match SMA colors
mav_titles = ['','','9 SMA' ,'50 SMA', '200 SMA' ]

fig, axes = mpf.plot(df,type='candle',mav=(9,50,200),volume=True,returnfig=True, style='yahoo')
axes[0].legend(mav_titles)
axes[0].set_title(ticker)
Thank you.