plotly / dash-bio

Open-source bioinformatics components for Dash
https://dash-gallery.plotly.host/Portal/?search=Bioinformatics
MIT License
529 stars 194 forks source link

Sizing of Manhatten Plots #668

Open Dan-Price opened 2 years ago

Dan-Price commented 2 years ago

The Size of the graph in the Manhatten plots shrinks after scrolling the threshold sliders, of clicking on any of the buttons automatically produced by plotly when the graph was created. This makes the points close together and messy.

To Reproduce Load the Manhatten Plot file found in the dashboard_demos folder. Perform any action that triggers a callback that reloads the graph eg moving the sliders, and zooming in or out. Screenshot 2022-01-21 at 19 03 03

Screenshot 2022-01-21 at 19 02 49 A photo before and after doing this have been included for changing the threshold value with the slider.

Additional callbacks, launched after the initial loading of the graph should all give a graph of the same size.

Screenshots If applicable, add screenshots to help explain the issue.

Python version: 3.8.5

Python Environment: A Virtual environment.