parameters: (self, plot_number)
docstring: For a given plot close and remove all reference in the
          GlobalFigureManager
          :param plot_number: The unique number in GlobalFigureManager
docstring_summary: For a given plot close and remove all reference in the
          GlobalFigureManager
          :param plot_number: The unique number in GlobalFigureManager
docstring_tokens: For a given plot close and remove all reference in the GlobalFigureManager : param plot_number : The unique number in GlobalFigureManager
function: def close_plot(self, plot_number):
          """
          For a given plot close and remove all reference in the
          GlobalFigureManager
          :param plot_number: The unique number in GlobalFigureManager
          """
          figure_manager = self.GlobalFigureManager.figs.get(plot_number)
          if figure_manager is None:
              raise ValueError('Error closing, could not find a plot with the number {}.'.format(plot_number))
  
          self.GlobalFigureManager.destroy(plot_number)
function_tokens: def close_plot ( self , plot_number ) : figure_manager = self . GlobalFigureManager . figs . get ( plot_number ) if figure_manager is None : raise ValueError ( 'Error closing, could not find a plot with the number {}.' . format ( plot_number ) ) self . GlobalFigureManager . destroy ( plot_number )