mpl_toolkits.axisartist.axislines.GridHelperRectlinear

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

Bases: mpl_toolkits.axisartist.axislines.GridHelperBase

__init__(self, axes) [source]

Initialize self. See help(type(self)) for accurate signature.

__module__ = 'mpl_toolkits.axisartist.axislines'
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]

Examples using mpl_toolkits.axisartist.axislines.GridHelperRectlinear

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