parameters: (self, file_name)
return_statement: return
docstring: save the current figure to an image file
          save to image
          :param file_name:
          :return:
docstring_summary: save the current figure to an image file
          save to image
          :param file_name:
          :return:
docstring_tokens: save the current figure to an image file save to image : param file_name : : return :
function: def save_figure(self, file_name):
          """ save the current figure to an image file
          save to image
          :param file_name:
          :return:
          """
          assert isinstance(file_name, str), 'File name {} must be a string.'.format(file_name)
  
          # TODO - NEXT - Provide many more options for figures to save
          self.fig.savefig(file_name)
  
          return
function_tokens: def save_figure ( self , file_name ) : assert isinstance ( file_name , str ) , 'File name {} must be a string.' . format ( file_name ) # TODO - NEXT - Provide many more options for figures to save self . fig . savefig ( file_name ) return