mpl_toolkits.axisartist.axis_artist.AttributeCopier

class mpl_toolkits.axisartist.axis_artist.AttributeCopier(**kwargs) [source]

Bases: object

[Deprecated]

Notes

Deprecated since version 3.2:

__dict__ = mappingproxy({'__module__': 'mpl_toolkits.axisartist.axis_artist', '__init__': <function AttributeCopier.__init__>, 'set_ref_artist': <function AttributeCopier.set_ref_artist>, 'get_ref_artist': <function AttributeCopier.get_ref_artist>, 'get_attribute_from_ref_artist': <function AttributeCopier.get_attribute_from_ref_artist>, '__dict__': <attribute '__dict__' of 'AttributeCopier' objects>, '__weakref__': <attribute '__weakref__' of 'AttributeCopier' objects>, '__doc__': None})
__init__(self, ref_artist, klass=<class 'matplotlib.artist.Artist'>) [source]

[Deprecated]

Notes

Deprecated since version 3.2:

__module__ = 'mpl_toolkits.axisartist.axis_artist'
__weakref__

list of weak references to the object (if defined)

get_attribute_from_ref_artist(self, attr_name, default_value=<deprecated parameter>) [source]
get_ref_artist(self) [source]

Return the underlying artist that actually defines some properties (e.g., color) of this artist.

set_ref_artist(self, artist) [source]

[Deprecated]

Notes

Deprecated since version 3.2:

Examples using mpl_toolkits.axisartist.axis_artist.AttributeCopier

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.3.3/api/_as_gen/mpl_toolkits.axisartist.axis_artist.AttributeCopier.html