mpl_toolkits.axisartist.axislines.
Axes
(*kl, **kw)[source]¶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]¶axis
¶Set axis properties.
Valid 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. The dimension of the Bbox in canvas coordinate.
If call_axes_locator is False, it does not call the
_axes_locator attribute, which is necessary to get the correct
bounding box. call_axes_locator==False
can be used if the
caller is only intereted in the relative size of the tightbbox
compared to the axes bbox.
grid
(b=None, which='major', axis='both', **kwargs)[source]¶Toggle the gridlines, and optionally set the properties of the lines.