Quasars / orange-spectroscopy

Other
52 stars 58 forks source link

Spectra SVG export broken (not a SVG anymore) #740

Open markotoplak opened 4 days ago

markotoplak commented 4 days ago

From a user:

I'm running Quasar on a 2023 Macbook Pro with M2 chip (macOS 14.2.1) and mainly use it to work with spectral data.

I noticed that since Quasar 1.9 the 'Spectra' widget behaves differently when exporting spectra as *.svg files. When I export spectra on version 1.7.0 as svg's I can directly load this file into vector-based drawing software (I use Inkscape 1.3.2), ungroup all elements, and edit each spectrum separately. When I export the same spectra as svg's on version 1.9 and above, it generates a very small file in which all the spectra are one merged, low resolution image. It's not possible to ungroup these spectra in Inkscape.

Perhaps you were already aware of this issue, or maybe it was a deliberate choice to change the output of this widget? Is it possible for me to update to version 1.10 (so I have access to the '2D correlation plot' widget), while still keeping the 'Spectra' widget from 1.7.0?

markotoplak commented 4 days ago

This was definitely not deliberate, but I do not remember changing anything there either.

Will need to see if some underlying code caused the issue.