mpl_toolkits.axisartist.axis_artist.GridlinesCollection
-
class mpl_toolkits.axisartist.axis_artist.GridlinesCollection(*args, which='major', axis='both', **kwargs)
[source] -
Bases:
matplotlib.collections.LineCollection
Parameters: -
which{"major", "minor"}
-
axis{"both", "x", "y"}
-
draw(self, renderer)
[source] -
Draw the Artist using the given renderer.
This method will be overridden in the Artist subclasses. Typically, it is implemented to not have any effect if the Artist is not visible (
Artist.get_visible
is False).Parameters: -
rendererRendererBase subclass.
-
-
set_axis(self, axis)
[source]
-
set_grid_helper(self, grid_helper)
[source]
-
set_which(self, which)
[source]
-
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.2.2/api/_as_gen/mpl_toolkits.axisartist.axis_artist.GridlinesCollection.html