glue-viz / glue-plotly

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

Update image export for layer-specific stretch customizations #52

Closed Carifio24 closed 8 months ago

Carifio24 commented 8 months ago

This PR resolves #51 by updating the image export functionality to account for layer-specific stretch customizations. The implementation here is simple - we just check whether the stretch_object property exists on the layer state, and if not then fall back to the old method of fetching the stretch by name.