Skip to content

pencil.visu.internal

Illa edited this page Feb 24, 2021 · 1 revision

pencil.visu.internal package

Submodules

pencil.visu.internal.MinorSymLogLocator module

class pencil.visu.internal.MinorSymLogLocator.MinorSymLogLocator(linthresh)

Bases: matplotlib.ticker.Locator

Dynamically find minor tick positions based on the positions of major ticks for a symlog scaling.

pencil.visu.internal.calc_lims module

pencil.visu.internal.calc_lims.calc_lims(val_min=False, val_max=False, offset=False)

Gives back an optimal limit for an plot upper or lower value. Therefor, it uses an inbuild offset from the PROFILE.

pencil.visu.internal.export_fig module

pencil.visu.internal.export_fig.export_fig(fig, filepath, filename=False, PNG=True, PDF=False, EPS=False, DPI=300, EXPORT_BBOX_INCES='tight', transparent=True, verbose=True, timestamp=False)

Does a proper export of a figure handle to all kind of image files.

pencil.visu.internal.prepare_fig module

pencil.visu.internal.prepare_fig.preparePlot(x_datasets, y_datasets, x_errors=False, y_errors=False, xmin=False, xmax=False, ymin=False, ymax=False, xlog=False, ylog=False, fig=False, ax=False, PROFILE=False)

Module contents