share_xy¶
-
hhpy.plotting.
share_xy
(ax: matplotlib.axes._axes.Axes, x: bool = True, y: bool = True, mode: str = 'all', adj_twin_ax: bool = True)[source]¶ set the subplots on the Axes to share x and/or y limits WITHOUT sharing x and y legends. If you want that please use pyplot.subplots(share_x=True,share_y=True) when creating the plots.
Parameters: - ax – The matplotlib.pyplot.Axes object to plot on, defaults to current axis [optional]
- x – whether to share x limits [optional]
- y – whether to share y limits [optional]
- mode – one of [‘all’, ‘row’, ‘col’], if all shares across all subplots, else just across rows / columns
- adj_twin_ax – whether to also adjust twin axes
Returns: None