makeAxis

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

Create a plotting axes

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

  • dpi – dots per inch

Return type:

Axes

Returns:

the plt.Axes