mpl_toolkits.axisartist.axislines.
Axes
(*args, grid_helper=None, **kwargs)[source]¶Bases: matplotlib.axes._axes.Axes
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: |
|
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.