mpl_toolkits.axisartist.floating_axes.GridHelperCurveLinear#

class mpl_toolkits.axisartist.floating_axes.GridHelperCurveLinear(aux_trans, extremes, grid_locator1=None, grid_locator2=None, tick_formatter1=None, tick_formatter2=None)[source]#

Bases: GridHelperCurveLinear

Parameters:
aux_transTransform or tuple[Callable, Callable]

The transform from curved coordinates to rectilinear coordinate: either a Transform instance (which provides also its inverse), or a pair of callables (trans, inv_trans) that define the transform and its inverse. The callables should have signature:

x_rect, y_rect = trans(x_curved, y_curved)
x_curved, y_curved = inv_trans(x_rect, y_rect)
extreme_finder
grid_locator1, grid_locator2

Grid locators for each axis.

tick_formatter1, tick_formatter2

Tick formatters for each axis.

get_data_boundary(side)[source]#

[Deprecated] Return v=0, nth=1.

Notes

Deprecated since version 3.8.

get_gridlines(which='major', axis='both')[source]#

Return list of grid lines as a list of paths (list of points).

Parameters:
which{"both", "major", "minor"}
axis{"both", "x", "y"}
new_fixed_axis(loc, nth_coord=None, axis_direction=None, offset=None, axes=None)[source]#

Examples using mpl_toolkits.axisartist.floating_axes.GridHelperCurveLinear#

floating_axes features

floating_axes features