docs: def disable_warnings(critical=False):
      """Function that disables all warnings and all critical warnings (if
      critical evaluates to True) related to the psyplot Module.
      Please note that you can also configure the warnings via the
      psyplot.warning logger (logging.getLogger(psyplot.warning))."""
      warnings.filterwarnings('ignore', '\w', PsyPlotWarning, 'psyplot', 0)
      if critical:
          warnings.filterwarnings('ignore', '\w', PsyPlotCritical, 'psyplot', 0)