quantstats icon indicating copy to clipboard operation
quantstats copied to clipboard

Issues with running commands on Visual Studio

Open baqarjafri opened this issue 5 years ago • 1 comments

Hi @ranaroussi , The static output works fine on visual studio but charts are not showing any output. 1

qs.plots.snapshot(df0['PPL_Return'], title='PPL Performance')`

This command runs but no output is displayed. Is there any other command to add so that output can be displayed?

baqarjafri avatar May 30 '20 22:05 baqarjafri

Hi @ranaroussi,

I too am having this same problem. I am running Python 3.9 in Visual Studio. This produces a quick flash like it is attempting to show a graph but then I see nothing. s = qs.utils.download_returns('AAPL') qs.plots.snapshot(s, title='AAPL')

I've looked at the snapshot code but I can't see anything that might cause this. Thanks!

glformanek avatar Dec 15 '20 20:12 glformanek

Hi team, noticed this the first time I was using the tool. Please include the parameter show=True that should do the trick. e.g. stock.plot_snapshot(title='Facebook Performance', show=True)

git-shogg avatar Nov 08 '22 09:11 git-shogg