glue-viz / glue-plotly

Experimental plot.ly plugin for glue
BSD 3-Clause "New" or "Revised" License
2 stars 8 forks source link

Initialize histogram viewer config with correct gaps #80

Closed Carifio24 closed 1 month ago

Carifio24 commented 1 month ago

This PR updates the histogram viewer setup to create the initial layout using the current state bar gap settings. While we listen for changes in the callback, it is possible that the state may already be set to something other than zero (e.g. if the viewer is using a subset of PlotlyHistogramViewerState with different initial values as its state class).