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, '__annotations__': {}})
__init__()[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(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()[source]
new_gridlines(ax)[source]

Create and return a new GridlineCollection instance.

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

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

Examples using mpl_toolkits.axisartist.axislines.GridHelperBase