Open pllim opened 5 years ago
How about when Matplotlib is the backend, would that yield a solution to this request?
Just speaking for myself, I would like this to work in a backend agnostic way, but maybe that is not even possible. Definitely need more looking into. For instance, astropy.visualization.stretch
does not rely on Matplotlib, but astropy.visualization.mpl_normalize
does.
I see... No wonder why you have not mentioned that option in your original post.
During a hack day project, in which @eteq and Matteo Correnti were a part of, I was given a non-interactive version of a photometry notebook. My task was to use
astrowidgets
to make some parts interactive. The non-interactive version leveragedastropy.visualization
rather nicely. But I had a hard time trying to do exactly the same steps usingastrowidgets
with Ginga as a backend because ejeschke/ginga#560 is still unresolved. I have a feeling that other backends we would support in the future (e.g.,bqplot
or Aladdin Lite) might not useastropy.visualization
as well. So, I guess that hook intoastropy.visualization
might have to happen here in theastrowidgets
layer.Relevant snippets:
xref spacetelescope/dat_pyinthesky#7