mpl_toolkits.axisartist.axislines.GridHelperBase

class mpl_toolkits.axisartist.axislines.GridHelperBase [source]

Bases: object

__dict__ = mappingproxy({'__module__': 'mpl_toolkits.axisartist.axislines', '__init__': <function GridHelperBase.__init__>, 'update_lim': <function GridHelperBase.update_lim>, '_update': <function GridHelperBase._update>, 'invalidate': <function GridHelperBase.invalidate>, 'valid': <function GridHelperBase.valid>, 'get_gridlines': <function GridHelperBase.get_gridlines>, 'new_gridlines': <function GridHelperBase.new_gridlines>, '__dict__': <attribute '__dict__' of 'GridHelperBase' objects>, '__weakref__': <attribute '__weakref__' of 'GridHelperBase' objects>, '__doc__': None})
__init__(self) [source]

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

__module__ = 'mpl_toolkits.axisartist.axislines'
__weakref__

list of weak references to the object (if defined)

get_gridlines(self, which, axis) [source]

Return list of grid lines as a list of paths (list of points).

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

invalidate(self) [source]
new_gridlines(self, ax) [source]

Create and return a new GridlineCollection instance.

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

update_lim(self, axes) [source]
valid(self) [source]

Examples using mpl_toolkits.axisartist.axislines.GridHelperBase

© 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.GridHelperBase.html