Hey, I know I’m a bit late to the party, but I also have a button that show’s and hides a mapbox graph and am facing a similar issue to you where upon re-display, the mapbox size changes. How did you use a hidden div to get around this?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Mapbox size not updated when changing display mode | 0 | 1470 | October 18, 2018 | |
| Scattermapbox does not render in correct size on startup | 0 | 713 | November 15, 2019 | |
| How to change the size of Graph/Mapbox so it fills out the whole window | 1 | 1936 | February 2, 2021 | |
| Mapbox fill out the whole graph component | 1 | 353 | July 4, 2019 | |
| Graph resizes (arbitrarily) when changing between Tabs in a Dash App | 5 | 2989 | June 7, 2024 |