Bases: LineCollection
Collection of grid lines.
Which grid to consider.
Which axis to consider.
Passed to LineCollection.
Draw the Artist (and its children) using the given renderer.
This has no effect if the artist is not visible (Artist.get_visible returns False).
RendererBase subclass.
This method is overridden in the Artist subclasses.
Set multiple properties at once.
Supported properties are
Property | Description |
|---|---|
a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array and two offsets from the bottom left corner of the image | |
array-like or scalar or None | |
bool | |
| bool or list of bools |
array-like or None | |
{"both", "x", "y"} | |
| |
(vmin: float, vmax: float) | |
| |
bool | |
Patch or (Path, Transform) or None | |
| |
| |
| |
str | |
| |
{'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'} | |
bool | |
| |
object | |
| str or tuple or list thereof |
| float or list of floats |
bool | |
| |
| |
(N, 2) or (2,) array-like | |
list of | |
unknown | |
None or bool or float or callable | |
float | |
bool | |
unknown | |
(scale: float, length: float, randomness: float) | |
bool or None | |
str | |
list of str or None | |
unknown | |
bool | |
{"major", "minor"} | |
float |
Select axis.
Set grid helper.
GridHelperBase subclass
Select major or minor grid lines.
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.axisartist.axis_artist.GridlinesCollection.html