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", "minor"}
- axis{"both", "x", "y"}
-
__init__(*args, which='major', axis='both', **kwargs)[source] -
Параметры: - which{"major", "minor"}
- axis{"both", "x", "y"}
-
__module__= 'mpl_toolkits.axisartist.axis_artist'
-
draw(renderer)[source] -
Отрисовка объекта Artist (и его дочерних элементов) с помощью указанного рендерера.
Этот метод не оказывает никакого влияния, если объект не отображается (
Artist.get_visibleвозвращает False).Параметры: -
renderer
RendererBaseподкласс.
Примечания
Этот метод переопределяется в подклассах Artist.
-
renderer
-
set_axis(axis)[source]
-
set_grid_helper(grid_helper)[source]
-
set_which(which)[source]
Примеры использования mpl_toolkits.axisartist.axis_artist.GridlinesCollection
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/mpl_toolkits.axisartist.axis_artist.GridlinesCollection.html