matplotlib / 3.5.1 / _as_gen / mpl_toolkits.axisartist.grid_finder.gridfinder.html /

mpl_toolkits.axisartist.grid_finder.GridFinder

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

Bases: object

transform : transform from the image coordinate (which will be the transData of the axes to the world coordinate.

or transform = (transform_xy, inv_transform_xy)

locator1, locator2 : grid locator for 1st and 2nd axis.

get_grid_info ( x1, y1, x2, y2 ) [source]
lon_values, lat_values list of grid values. if integer is given,

rough number of grids in each direction.

get_transform ( ) [source]
inv_transform_xy ( x, y ) [source]
set_transform ( aux_trans ) [source]
transform_xy ( x, y ) [source]
update ( **kw ) [source]
update_transform ( aux_trans ) [source]

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