tepkit.utils.mpl_tools#

Submodules#

Attributes#

package_root

style_dir

style_path

Classes#

Functions#

set_axes_ticker_formatter(ax, direction, formatter[, ...])

Set the ticker formatter of the given axes (ax).

set_axes_ticker_locator(ax, direction, locator[, arg, ...])

Set the ticker locator of the given axes (ax).

adjust_legend_linewidth(ax[, linewidth])

Package Contents#

package_root
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_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})

style_dir
style_path
adjust_legend_linewidth(ax, linewidth: float = None)#