Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Django/Python/HTML Too many blank space between container and plot

The actual plot is 19674
But the container is

356254

Is there a way make the plot to be the size like the container?

Setting the layout.margin s to 0 should do the trick.

So is this inside plotly.offline.plot(data,filename=self.graph[i][‘HTMLFileName’], auto_open=False) this function? Like inside data?

I think the answer to your question is here: How to hide Save and Edit Link in Modebar

Thank you very much!

Sorry, could you help me one more time.

plotly.offline.plot(fig,displayModeBar=False,filename=self.graph[i][‘HTMLFileName’], auto_open=False)

It says unexpected keyword.