docs: def plot(name=None, fig=None, abscissa=1, iteridx=None,
           plot_mean=False,
           foffset=1e-19, x_opt=None, fontsize=9):
      """
      plot data from files written by a `CMADataLogger`,
      the call ``cma.plot(name, **argsdict)`` is a shortcut for
      ``cma.CMADataLogger(name).plot(**argsdict)``
  
      Arguments
      ---------
          `name`
              name of the logger, filename prefix, None evaluates to
              the default 'outcmaes'
          `fig`
              filename or figure number, or both as a tuple (any order)
          `abscissa`
              0==plot versus iteration count,
              1==plot versus function evaluation number
          `iteridx`
              iteration indices to plot
  
      Return `None`
  
      Examples
      --------
      ::
  
         cma.plot();  # the optimization might be still
                      # running in a different shell
         cma.savefig('fig325.png')
         cma.closefig()
  
         cdl = cma.CMADataLogger().downsampling().plot()
         # in case the file sizes are large
  
      Details
      -------
      Data from codes in other languages (C, Java, Matlab, Scilab) have the same
      format and can be plotted just the same.
  
      :See: `CMADataLogger`, `CMADataLogger.plot()`
  
      """
      global last_figure_number
      if not fig:
          last_figure_number += 1
          fig = last_figure_number
      if isinstance(fig, (int, float)):
          last_figure_number = fig
      CMADataLogger(name).plot(fig, abscissa, iteridx, plot_mean, foffset,
                               x_opt, fontsize)