From f7347760d5233cde332a990d2b79270e228682bc Mon Sep 17 00:00:00 2001 From: Anthony Lim <anthony.lim@stfc.ac.uk> Date: Fri, 21 Sep 2018 15:32:55 +0100 Subject: [PATCH] refs #23524 updated docs for muon plotting --- dev-docs/source/Widgets/Plotting.rst | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/dev-docs/source/Widgets/Plotting.rst b/dev-docs/source/Widgets/Plotting.rst index 524f5e06973..68ffb0606a3 100644 --- a/dev-docs/source/Widgets/Plotting.rst +++ b/dev-docs/source/Widgets/Plotting.rst @@ -30,6 +30,8 @@ The four subplot arrangements are: *This layout can be changed by modifying ``plotting_utils.py``.* +The python toolbar is available for use. Two custom buttons have been added for adding and removing lines from a subplot. + Usage ^^^^^ :: @@ -62,9 +64,14 @@ The Plotting_ files are arranged in the following format: AxisChanger/ axis_changer_presenter.py axis_changer_view.py + edit_widows/ + remove_plot_window.py + select_subplot.py plotting_presenter.py plotting_view.py plotting_utils.py + subPlot_object.py + navigation_toolbar.py Both the Plotting and AxisChanger modules are in MVP (Model, View, Presenter) format, as this benefits maintainability. @@ -99,15 +106,19 @@ Handles the gridspec layouts: further gridspecs can be defined in ``plotting_uti TODO ^^^^ - Move plotting to a more central, accessible location in the mantid codebase -- Options for changing line colours, fonts etc. - Moveable lines with the related events (i.e. can check whether a line is moved within tolerance of a given x value) - Addition of more subplots -- Exporting subplots as PNGs etc. -- Removal of individual plots from a subplot (the way plotted lines are stored would have to be changed) +- Allow any spectrum number to be plotted + +Done +^^^^ +- Options for changing line colours, fonts etc. This is done by python toolbar. +- Exporting subplots as PNGs etc. This is done by python toolbar. +- Removal of individual plots from a subplot (the way plotted lines are stored would have to be changed). Needed some rewritting but done now. Known Issues ^^^^^^^^^^^^ -- TBC after testing +- Axis change goes blank after removing subplot. Related Bugs/Notes ^^^^^^^^^^^^^^^^^^ -- GitLab