mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
211 stars 123 forks source link

Linux Plotting Smoke Tests :chart_with_upwards_trend: :bar_chart: #35252

Closed sf1919 closed 1 year ago

sf1919 commented 1 year ago

Before testing:

Afterwards:

If you have any questions please contact the creator of this issue.

:chart_with_upwards_trend: :bar_chart:

darominski commented 1 year ago

1D plotting:

  1. When modifying parameters of a waterfall plot, and both offsets are set to zero and the return key is pressed to confirm the new second offset, an error with the following traceback appears:
    File "lib/python3.8/site-packages/mantidqt/widgets/waterfallplotoffsetdialog/presenter.py", line 27, in <lambda>
    self.view.x_offset_spin_box.valueChanged.connect(lambda: self.update_x_offset())
    File "lib/python3.8/site-packages/mantidqt/widgets/waterfallplotoffsetdialog/presenter.py", line 42, in update_x_offset
    self.ax.update_waterfall(new_x, self.view.get_y_offset())
    File "lib/python3.8/site-packages/mantid/plots/mantidaxes.py", line 1128, in update_waterfall
    self.set_waterfall_fill(False)
    File "envs/test_mantid_6.6/lib/python3.8/site-packages/mantid/plots/mantidaxes.py", line 1209, in set_waterfall_fill
    raise RuntimeError("Cannot toggle fill on non-waterfall plot.")
    RuntimeError: Cannot toggle fill on non-waterfall plot.

2D plotting:

  1. Enabling Minor Gridlines from Figure Options in the Axes tab does not seem to have an effect.

Sliceviewer:

  1. Using peaks overlay permanently restricts the sliceviewer view to a portion of the window, generally to the right of the options bar. This happens only if the sliceviewer window was not resized prior to adding peaks overlay.
darominski commented 1 year ago

sliceviewer_restricted_view

darominski commented 1 year ago

Issues opened for 1D plotting issue (#35257) and the sliceviewer (#35260). The 2D plotting issue is minor.