Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. Mar 26, 2020
    • Matthew Andrew's avatar
      Added in check before redraw in handleWorkspaceDeleted Re #28434 · 06c660dd
      Matthew Andrew authored
      Without this check every plot was being dedrawn every time a workspace was deleted from the ADS leading to slowdowns.
      06c660dd
    • Matthew Andrew's avatar
      Updated return value of remove_workspace_artists Re #28434 · 16c5649d
      Matthew Andrew authored
      This function returns a bool which was previously being used to indicate two separate things. The return values could mean:
        * False: Either the workspace does not exist on the axis or it does but the axis is not empty after its' removal.
        * True: Workspace exists and was removed and axis is now empty
      
      This made the value not very useful for determining whether a call to remove_workspace_artists had removed anything. A grep of the code base returned that this return value was not currently being used anywhere except in MantidAxes.cpp where it was assumed to indicate whether anything had been removed. As you can easily check whether an axis is empty by other means I have changed the return value so that it indicates whether the call resulted in any change to the plot which is harder to divine by other means and brings this function in line with replace_workspace_artist.
      16c5649d
    • Gigg, Martyn Anthony's avatar
      Merge pull request #28225 from mantidproject/detector_count · a932adce
      Gigg, Martyn Anthony authored
      Determine the total number of detectors used in the spectrum info
  2. Mar 25, 2020
  3. Mar 24, 2020
  4. Mar 23, 2020
  5. Mar 20, 2020
Loading