glue-viz / glue

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

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

Closed astrofrog closed 2 months ago

astrofrog commented 3 months ago

Work in progress

astrofrog commented 3 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 3 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 3 months ago

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