nested_grid_plotter.make_x_axes_symmetric_zero_centered#

nested_grid_plotter.make_x_axes_symmetric_zero_centered(axes: _AxesBase | List[_AxesBase], min_xlims: float | List[float] | None = None) None[source]#

Make x-axis symmetric in zero for all provided axes

Always put 0 in the middle of the graph for all x axes.

Parameters:
  • axes (Union[_AxesBase, List[_AxesBase]]) – Axis or list of axes to adjust.

  • min_xlims (Optional[Union[float, List[float]]]) –

    Added in version 1.2.

    Minimum xlim for each axis. If data range from -2.0 to 5.0, and min_xlims is 1.0, then the limits would be [-5.0, 5.0], but if min_xlims is 10.0 or -10.0, then, the limits would be [-10.0, 10.0]. If None, then it is ignored. The provided list should have the same number of elements as axes. By default None.

Return type:

None.