parameters: (self, dimensions_transposing=False, dimensions_changing=False)
docstring: Tell the view to display a new plot of an MDEventWorkspace
docstring_summary: Tell the view to display a new plot of an MDEventWorkspace
docstring_tokens: Tell the view to display a new plot of an MDEventWorkspace
function: def new_plot_MDE(self, dimensions_transposing=False, dimensions_changing=False):
          """
          Tell the view to display a new plot of an MDEventWorkspace
          """
          data_view = self.view.data_view
          limits = data_view.get_axes_limits()
  
          # The value at the i'th index of this tells us that the axis with that value (0 or 1) will display dimension i
          dimension_indices = self.view.dimensions.get_states()
  
          if dimensions_transposing:
              # Since the dimensions are transposing, the limits we have from the view are the wrong way around
              # with respect to the axes the dimensions are about to be displayed, so get the previous dimension states.
              dimension_indices = self.view.dimensions.get_previous_states()
          elif dimensions_changing:
              # If we are changing which dimensions are to be displayed, the limits we got from the view are stale
              # as they refer to the previous two dimensions that were displayed.
              limits = None
  
          data_view.plot_MDH(
              self.model.get_ws_MDE(slicepoint=self.get_slicepoint(),
                                    bin_params=data_view.dimensions.get_bin_params(),
                                    limits=limits,
                                    dimension_indices=dimension_indices))
          self._call_peaks_presenter_if_created("notify", PeaksViewerPresenter.Event.OverlayPeaks)
function_tokens: def new_plot_MDE ( self , dimensions_transposing = False , dimensions_changing = False ) : data_view = self . view . data_view limits = data_view . get_axes_limits ( ) # The value at the i'th index of this tells us that the axis with that value (0 or 1) will display dimension i dimension_indices = self . view . dimensions . get_states ( ) if dimensions_transposing : # Since the dimensions are transposing, the limits we have from the view are the wrong way around # with respect to the axes the dimensions are about to be displayed, so get the previous dimension states. dimension_indices = self . view . dimensions . get_previous_states ( ) elif dimensions_changing : # If we are changing which dimensions are to be displayed, the limits we got from the view are stale # as they refer to the previous two dimensions that were displayed. limits = None data_view . plot_MDH ( self . model . get_ws_MDE ( slicepoint = self . get_slicepoint ( ) , bin_params = data_view . dimensions . get_bin_params ( ) , limits = limits , dimension_indices = dimension_indices ) ) self . _call_peaks_presenter_if_created ( "notify" , PeaksViewerPresenter . Event . OverlayPeaks )