mpl_toolkits.axisartist.grid_finder.GridFinderBase

class mpl_toolkits.axisartist.grid_finder.GridFinderBase(extreme_finder, grid_locator1, grid_locator2, tick_formatter1=None, tick_formatter2=None) [source]

Bases: object

the transData of the axes to the world coordinate. locator1, locator2 : grid locator for 1st and 2nd axis.

Derived must define "transform_xy, inv_transform_xy" (may use update_transform)

get_grid_info(self, x1, y1, x2, y2) [source]
lon_values, lat_values : list of grid values. if integer is given,
rough number of grids in each direction.
update(self, **kw) [source]
update_transform(self, aux_trans) [source]

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/mpl_toolkits.axisartist.grid_finder.GridFinderBase.html