mpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear#

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

Bases: GridHelperBase

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_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"}
get_tick_iterator(nth_coord, axis_side, minor=False)[source]#
new_fixed_axis(loc, nth_coord=None, axis_direction=None, offset=None, axes=None)[source]#
new_floating_axis(nth_coord, value, axes=None, axis_direction='bottom')[source]#
update_grid_finder(aux_trans=None, **kwargs)[source]#