Quansight / lsst_dashboard

LSST Dashboard https://quansight.github.io/lsst_dashboard/
BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

maintain zoom level/position when the number of metrics changes #108

Closed brendancol closed 4 years ago

brendancol commented 4 years ago

When adding or removing a metric, the plots currently always reset. They should instead maintain zoom level/position when the number of metrics changes

@philippjfr you mentioned there was an easy this, can you points us in the right direction?

timothydmorton commented 4 years ago

Also, just to add to this issue, this should be solved in conjunction with solving (or on the way toward) general state persistence, not just of zoom/pan level of individual plots. A related use case to keep in mind here is that someone might want to be able to make some selection of points in the dashboard, and then explore that same selection in some ad-hoc analysis in a notebook. So not yet the full "explore in jupyter" button, but perhaps something where a text query defining the data selection can be copied from the dashboard to be pasted & used elsewhere.

timothydmorton commented 4 years ago

Oh, sorry; I hadn't seen #109

dharhas commented 4 years ago

fixed in #146