docs: def get_figure(new_fig=True, subplot='111', params=None):
      """
      Function to be used for viewing - plotting,
      to initialize the matplotlib figure - axes.
  
      Args:
          new_fig(bool): Defines if a new figure will be created, if false current figure is used
          subplot (tuple or matplolib subplot specifier string): Create axes with these parameters
          params (dict): extra options passed to add_subplot()
  
      Returns:
          Matplotlib Figure and Axes
      """
      _get_plt()
  
      if new_fig:
          fig = plt.figure()
      else:
          fig = plt.gcf()
  
      params = dict_if_none(params)
  
      if isinstance(subplot, (tuple, list)):
          ax = fig.add_subplot(*subplot, **params)
      else:
          ax = fig.add_subplot(subplot, **params)
  
      return fig, ax