makeAxis

emlib.matplotting.makeAxis(pixels=None, dpi=96)[source]

Create a plotting axes

Parameters:
  • pixels (tuple[int, int] | None) – the size of the plot, in pixels

  • dpi – dots per inch

Return type:

Axes

Returns:

the Axes