class mpl_toolkits.axisartist.axislines.Axes(*args, grid_helper=None, **kwargs)
[source]
Bases: matplotlib.axes._axes.Axes
axis
Convenience method to get or set some axis properties.
Call signatures:
xmin, xmax, ymin, ymax = axis() xmin, xmax, ymin, ymax = axis([xmin, xmax, ymin, ymax]) xmin, xmax, ymin, ymax = axis(option) xmin, xmax, ymin, ymax = axis(**kwargs)
Parameters: |
| ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns: |
|
cla(self)
[source]
Clear the current axes.
get_grid_helper(self)
[source]
grid(self, b=None, which='major', axis='both', **kwargs)
[source]
Toggle the gridlines, and optionally set the properties of the lines.
invalidate_grid_helper(self)
[source]
new_fixed_axis(self, loc, offset=None)
[source]
new_floating_axis(self, nth_coord, value, axis_direction='bottom')
[source]
new_gridlines(self, grid_helper=None)
[source]
Create and return a new GridlineCollection instance.
which : "major" or "minor" axis : "both", "x" or "y"
toggle_axisline(self, b=None)
[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.axislines.Axes.html