mpl_toolkits.axisartist.axis_artist.GridlinesCollection
-
class mpl_toolkits.axisartist.axis_artist.GridlinesCollection(*args, which='major', axis='both', **kwargs)[source] -
Bases:
matplotlib.collections.LineCollectionwhich : "major" или "minor" axis : "both", "x" или "y"
-
draw(self, renderer)[source] -
Отображает элемент Artist с помощью заданного рендерера.
Этот метод будет переопределён в подклассах Artist. Обычно он реализуется так, чтобы не иметь никакого эффекта, если элемент Artist не виден (
Artist.get_visibleравен False).Параметры: -
renderer : RendererBase 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.1.1/api/_as_gen/mpl_toolkits.axisartist.axis_artist.GridlinesCollection.html