opal.utilities package

Notebooks

opal.utilities.logger module

opal.utilities.logger.find_config_file()[source]

opal.utilities.wrapper module

opal.utilities.wrapper.new_label(fun, *args, **kwargs)[source]

New function for matplotlib text.

Parameters
  • fun (function) – the original label matplotlib function

  • args (tuple) – arguments of the original function

  • kwargs (dict) – further keyword arguments of the original function

opal.utilities.wrapper.wrapper(fun, new_fun)[source]

Wrapper.

Parameters
  • fun (function) – the function to wrap

  • new_fun (function) – the new function that is called before calling the original function