h5web icon indicating copy to clipboard operation
h5web copied to clipboard

Rename NeXus visualizations

Open axelboc opened this issue 3 years ago • 1 comments

Fix #1125

As suggested in https://github.com/silx-kit/h5web/issues/1125#issuecomment-1285552787, the NeXus lingo (especially the term "spectrum") can be confusing in a generic viewer. This PR changes the names of the visualizations displayed in the VisSelector tabs: NX Spectrum to NX Line and NX Image to NX Heatmap.

image

In the end, I decided not to care about the presence or absence of the interpretation attribute. So for instance, NX Line is used even when interpretation is set to spectrum.

axelboc avatar Oct 26 '22 12:10 axelboc

/approve

axelboc avatar Oct 27 '22 10:10 axelboc

/approve

axelboc avatar Nov 02 '22 13:11 axelboc