How can I download custom Plotly charts from QC research? Plotly's “fig.write_image()” seems to not work in QC. Let's say we have the following code:

import plotly.express as px
fig = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
fig.write_image("test.png")
fig.show()	

 

Pressing “Download plot as PNG” after the figure is shown allows me to save the plot image to the workspace, however, it is tedious when having lots of plots. Also, it still doesn't allow for downloading it locally, which is preferable as I intend to plot many different backtests and need to easily scroll through all images. I would hate to have to pay another stock data provider just to download and view my custom Plotly plots. 

Author