neurom.view.common.plot_limits

neurom.view.common.plot_limits(ax, **kwargs)

Sets the limit options of a matplotlib plot.

Parameters:
  • ax – matplotlib axes
  • xlim (Optional[list of two floats]) – Defines the min and the max values in x-axis. To use default limits select None.
  • ylim (Optional[list of two floats]) – Defines the min and the max values in y-axis. To use default limits select None.
  • zlim (Optional[list of two floats]) – Defines the min and the max values in z-axis. To use default limits select None.