lgca.plots.estimate_figsize

lgca.plots.estimate_figsize(array, x=8.0, cbar=False, dy=1.0)

Deprecated since version 1.0: estimate_figsize() will be removed in biolgca 1.0, it is replaced by the default value for the figure size in setup_figure() of the respective LGCA object.

Parameters:
  • array (numpy.ndarray) – Array holding the data to be plotted.

  • x (float) – Desired x dimension of the figure. Used to scale the y dimension.

  • cbar (bool) – If the figure will contain a colorbar.

  • dy (float) – Scale of a unit in the y direction as compared to the x direction.

Returns:

Optimal figure size.