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

mpl_toolkits.axisartist.axis_artist.GridlinesCollection

class mpl_toolkits.axisartist.axis_artist.GridlinesCollection(*args, which='major', axis='both', **kwargs)[source]

Bases: matplotlib.collections.LineCollection

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

draw(renderer)[source]

Derived classes drawing method

set_axis(axis)[source]
set_grid_helper(grid_helper)[source]
set_which(which)[source]