nested_grid_plotter.make_y_axes_symmetric_zero_centered#
- nested_grid_plotter.make_y_axes_symmetric_zero_centered(axes: _AxesBase | List[_AxesBase], min_ylims: float | List[float] | None = None) None[source]#
Make y-axis symmetric in zero for all provided axes.
Always put 0 in the middle of the graph for all y axes.
- Parameters:
axes (Union[Axes, List[Axes]]) – Axis or list of axes to adjust.
min_ylims (Optional[Union[float, List[float]]]) –
Added in version 1.2.
Minimum ylim for each axis. If data range from -2.0 to 5.0, and min_ylims is 1.0, then the limits would be [-5.0, 5.0], but if min_ylims is 10.0 or -10.0, then, the limits would be [-10.0, 10.0]. The provided list should have the same number of elements as axes. If None, then it is ignored. By default None.
- Return type:
None.