set_option

Stoner.tools.set_option(name: str, value: bool) None[source]

Set a global package option.

Parameters:
  • name (str) –

    Option Name, one of:
    • short_repr (bool):

      Instead of using a rich representation, use a short description for DataFile and Imagefile.

    • short_data_repr (bool):

      Just use short representation for DataFiles

    • short_img_repr (bool):

      Just use a short representation for image file

    • no_figs (bool):

      Do not return figures from plotting functions, just plot them.

  • value (depends on name) – The value to set (see name)