This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
take into account the size of the container when rendering a PNG of the image #199
Open
Description
plotly.js won't take into the size of the container when rendering an image (plotly/plotly.js#1576) and almost all dash app's graphs are going to be in responsive containers with dynamic sizes.
so, we should add a workaround to dcc.Graph
to override the download png behaviour so that the graph is properly sized.
originally reported in https://community.plot.ly/t/save-plot-as-png-sizing-and-positioning/10166