finesse.plotting.tools.init

finesse.plotting.tools.init(mode='display', dpi=None, fmts=None)[source]

Sets up default plotting parameters for a desired display mode.

Parameters

mode : str

Display mode to use, either ‘display’ or ‘paper’.

dpi : int, optional

DPI (Dots per inch) to display and save figures with. Defaults to current setting.

fmts : list of str, optional

List of image formats to allow for display when running under IPython; defaults to DEFAULT_FORMATS.