You are reading an old version of the documentation (v3.1.1). For the latest version see https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.axisartist.axislines.GridHelperRectlinear.html
Version 3.1.2
matplotlib
Fork me on GitHub

mpl_toolkits.axisartist.axislines.GridHelperRectlinear

class mpl_toolkits.axisartist.axislines.GridHelperRectlinear(axes)[source]

Bases: mpl_toolkits.axisartist.axislines.GridHelperBase

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

return list of gridline coordinates in data coordinates.

which : "major" or "minor" axis : "both", "x" or "y"

new_fixed_axis(self, loc, nth_coord=None, axis_direction=None, offset=None, axes=None)[source]
new_floating_axis(self, nth_coord, value, axis_direction='bottom', axes=None)[source]