shnitsel.vis.plot.common

Functions

outlabel(ax, letter)

inlabel(ax, letter)

figax([fig, ax])

Create figure and axes-object if an axes-object is not supplied.

extrude(x, y, xmin, xmax, ymin, ymax)

mpl_imshow_png(ax, png, **imshow_kws)

Module Contents

outlabel(ax, letter)
inlabel(ax, letter)
figax(fig=None, ax=None)

Create figure and axes-object if an axes-object is not supplied.

Parameters:
  • fig (matplotlib.figure.Figure | matplotlib.figure.SubFigure | None)

  • ax (matplotlib.axes.Axes | None)

Return type:

tuple[matplotlib.figure.Figure | matplotlib.figure.SubFigure, matplotlib.axes.Axes]

extrude(x, y, xmin, xmax, ymin, ymax)
mpl_imshow_png(ax, png, **imshow_kws)