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
modestr

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

dpiint, optional

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

fmtslist of str, optional

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