glue-viz / glue

Linked Data Visualizations Across Multiple Files
http://glueviz.org
Other
742 stars 153 forks source link

Implement support for unit conversion in attribute limits in image viewer #2480

Closed astrofrog closed 7 months ago

astrofrog commented 8 months ago

Work in progress

astrofrog commented 8 months ago

The main thing to do at this point is to make sure that if it's just the units that change, we convert the units (including in 'Custom' mode)

astrofrog commented 8 months ago

This mostly works but we now need to make sure that we use the native units when actually passing the limits to e.g. Matplotlib or bqplot.

astrofrog commented 8 months ago

Think this is ready to try out. To use, set .attribute_display_unit in the layer state.