simularium / binding-sim-edu

Other
0 stars 0 forks source link

Feature/style right panel plot #67

Closed meganrm closed 5 months ago

meganrm commented 5 months ago

Problem

Estimated review size: medium The plots need consistent styling across both panels and need to match the design Generally that is just applying styling but there is also an issue with plotly defaulting the axis to include negative values (basically so 0,0 is in the center instead of the lower left). So I include a fix for that too.

Solution

Factored out a few more of the plot settings into constants and fine tuned the style. NOT IN SCOPE: resize the right plots. I decided to make a general custom hook to deal with resize the view that will adjust all the plots so that will be in a separate PR.

Type of change

Please delete options that are not relevant.

Screenshots (optional):

Show-n-tell images/animations here

Screenshot 2024-04-25 at 3 02 23 PM