tepkit.utils.mpl_tools.ticker_tools#
Ref: https://matplotlib.org/stable/api/ticker_api.html
Attributes#
|
|
|
Functions#
|
Set the ticker locator of the given axis (ax.xaxis or ax.yaxis). |
|
Set the ticker locator of the given axes (ax). |
|
Set the ticker locator of the given axis (ax.xaxis or ax.yaxis) or axes (ax). |
|
Set the ticker formatter of the given axis (ax.xaxis or ax.yaxis). |
|
Set the ticker formatter of the given axes (ax). |
|
Set the ticker formatter of the given axis (ax.xaxis or ax.yaxis) or axes (ax). |
|
Module Contents#
- ticker_locators
- set_axis_ticker_locator(axis: matplotlib.axis.Axis, locator: str, arg: Any = None, minor: bool = False)#
Set the ticker locator of the given axis (ax.xaxis or ax.yaxis).
- set_axes_ticker_locator(ax: matplotlib.axes.Axes, direction: str, locator: str, arg: Any = None, minor: bool = False)#
Set the ticker locator of the given axes (ax). Usage: >>> set_axes_ticker_locator(ax, “x”, “auto”) >>> set_axes_ticker_locator(ax, “x”, “gap”, 10) >>> set_axes_ticker_locator(ax, “y”, “log”, {“base”: 10})
- set_ticker_locator(target: matplotlib.axis.Axis | matplotlib.axes.Axes, locator: str, arg: Any = None, minor: bool = False, direction: str = None)#
Set the ticker locator of the given axis (ax.xaxis or ax.yaxis) or axes (ax).
- ticker_formatters
- set_axis_ticker_formatter(axis: matplotlib.axis.Axis, formatter: str, arg: Any = None, minor: bool = False)#
Set the ticker formatter of the given axis (ax.xaxis or ax.yaxis).
- set_axes_ticker_formatter(ax: matplotlib.axes.Axes, direction: str, formatter: str, arg: Any = None, minor: bool = False)#
Set the ticker formatter of the given axes (ax). Usage: >>> set_axes_ticker_formatter(ax, “x”, “null”) >>> set_axes_ticker_formatter(ax, “y”, “log”, {“base”: 10})
- set_ticker_formatter(target: matplotlib.axis.Axis | matplotlib.axes.Axes, formatter: str, direction: str = None, arg: Any = None, minor: bool = False)#
Set the ticker formatter of the given axis (ax.xaxis or ax.yaxis) or axes (ax).
- test()#