def draw_figure(self, s, update_high_plots=True):
        """
        Convenience function that sets current specimen to s and calculates
        data for that specimen then redraws all plots.

        Parameters
        ----------
        s : specimen to set current specimen too
        update_high_plots : bool which decides if high level mean plot
            updates (default: False)
        """
        self.initialize_CART_rot(s)

        # Draw Zij plot
        self.draw_zijderveld()

        # Draw specimen equal area
        self.draw_spec_eqarea()

        # Draw M/M0 plot ( or NLT data on the same area in the GUI)
        self.draw_MM0()

        # If measurements are selected redisplay selected data
        if len(self.selected_meas) > 0:
            self.plot_selected_meas()

        # Draw high level equal area
        if update_high_plots:
            self.plot_high_levels_data()
        self.canvas4.draw()
def draw_figure ( self , s , update_high_plots = True ) : self . initialize_CART_rot ( s ) self . draw_zijderveld ( ) self . draw_spec_eqarea ( ) self . draw_MM0 ( ) if len ( self . selected_meas ) > 0 : self . plot_selected_meas ( ) if update_high_plots : self . plot_high_levels_data ( ) self . canvas4 . draw ( )
Convenience function that sets current specimen to s and calculates
        data for that specimen then redraws all plots.

        Parameters
        ----------
        s : specimen to set current specimen too
        update_high_plots : bool which decides if high level mean plot
            updates (default: False)