ISISNeutronMuon / MDANSE

MDANSE: Molecular Dynamics Analysis for Neutron Scattering Experiments
https://www.isis.stfc.ac.uk/Pages/MDANSEproject.aspx
GNU General Public License v3.0
21 stars 5 forks source link

Change colour parsing in plot_1d_model #394

Closed MBartkowiakSTFC closed 6 months ago

MBartkowiakSTFC commented 6 months ago

Description of work Changes the translation between the matplotlib and Qt colour scheme.

closes #391

Fixes Changed the sequence of colour formats used by the plotter code.

To test

  1. Load an MDA file into the plotter.
  2. Plot a 1D curve.
  3. Right-click the plot and pick "Lines settings".
  4. Change the colour of the curve. All this should complete without the GUI crashing.