glue-viz / glue-plotly

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

Improvements to 2D scatter exporter #28

Closed Carifio24 closed 1 year ago

Carifio24 commented 1 year ago

This PR contains some updates from @victoriaono and myself to the 2D scatter exporter. These updates include:

The exported vectors don't match up 100% to what's in glue - I tried to match the glue/matplotlib scaling as closely as I could. The arrowheads on vectors behave a bit differently as well - it doesn't seem to be possible to get the arrowheads to be symmetric about the vector like the matplotlib ones are.

Vectors and errors bars are only implemented for the rectilinear projection - other projections can be tackled in a future PR.

Carifio24 commented 1 year ago

Rebased to also fix a codestyle issue that's present on main so that CI tests can run.