nested_grid_plotter.align_y_axes#

nested_grid_plotter.align_y_axes(axes: List[Axes], is_ticks_major: bool = True) List[Any][source]#

Align the ticks of multiple y axes.

A new sets of ticks are computed for each axis in <axes> but with equal length.

Parameters:
  • axes (List[Axes]) – List of axes objects whose yaxis ticks are to be aligned.

  • is_ticks_major (bool, optional) – Whether to consider only major ticks. The default is True.

Returns:

new_ticks (list)

Return type:

a list of new ticks for each axis in <axes>.