class mpl_toolkits.axisartist.axislines.Axes(*args, grid_helper=None, **kwargs)
[source]
Bases: matplotlib.axes._axes.Axes
class AxisDict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
[source]
Bases: dict
axis
Convenience method to get or set some axis properties.
Call signatures:
xmin, xmax, ymin, ymax = axis() xmin, xmax, ymin, ymax = axis(list_arg) xmin, xmax, ymin, ymax = axis(string_arg) xmin, xmax, ymin, ymax = axis(**kwargs)
Parameters: |
| ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns: |
|
cla()
[source]
Clear the current axes.
draw(renderer, inframe=False)
[source]
Draw everything (plot lines, axes, labels)
get_children()
[source]
return a list of child artists
get_grid_helper()
[source]
get_tightbbox(renderer, call_axes_locator=True)
[source]
Return the tight bounding box of the axes, including axis and their decorators (xlabel, title, etc).
Artists that have artist.set_in_layout(False)
are not included in the bbox.
Parameters: |
|
---|---|
Returns: |
|
grid(b=None, which='major', axis='both', **kwargs)
[source]
Toggle the gridlines, and optionally set the properties of the lines.
invalidate_grid_helper()
[source]
new_fixed_axis(loc, offset=None)
[source]
new_floating_axis(nth_coord, value, axis_direction='bottom')
[source]
new_gridlines(grid_helper=None)
[source]
Create and return a new GridlineCollection instance.
which : "major" or "minor" axis : "both", "x" or "y"
toggle_axisline(b=None)
[source]
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.0.0/api/_as_gen/mpl_toolkits.axisartist.axislines.Axes.html