CDAT / jupyter-vcdat

A Jupyter Lab extension based on vCDAT.
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

non-default axis values arent represented when re-editing a variables axis #150

Open sterlingbaldwin opened 4 years ago

sterlingbaldwin commented 4 years ago

Describe the bug When a variable is loaded with non-default axis values, or has been edited to change the loaded axis ranges, and the user clicks the "edit" button again, the sliders dont match up with the current axis ranges but instead are back at the default with the whole range selected.

To Reproduce Steps to reproduce the behavior:

  1. Load a variable
  2. Change the loaded axis
  3. Open the variable editor
  4. See error

Expected behavior The edit modal should start with the currently selected values, not the default values.