ax_tick_linebreaks

hhpy.plotting.ax_tick_linebreaks(ax: matplotlib.axes._axes.Axes = None, x: bool = True, y: bool = True, **kwargs) → None[source]

uses insert_linebreaks to insert linebreaks into the axes ticklabels

Parameters:
  • ax – The matplotlib.pyplot.Axes object to plot on, defaults to current axis [optional]
  • x – whether to insert linebreaks into the x axis label [optional]
  • y – whether to insert linebreaks into the y axis label [optional]
  • kwargs – other keyword arguments passed to insert_linebreaks
Returns:

None