mpl_toolkits.axisartist.axis_artist.AttributeCopier

class mpl_toolkits.axisartist.axis_artist.AttributeCopier(ref_artist, klass=<class 'matplotlib.artist.Artist'>)[源代码]

基类:object

[Deprecated]

笔记

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, '__annotations__': {}})
__init__(ref_artist, klass=<class 'matplotlib.artist.Artist'>)[源代码]

[Deprecated]

笔记

3.2 版后已移除:

__module__ = 'mpl_toolkits.axisartist.axis_artist'
__weakref__

对象的弱引用列表(如果已定义)

get_attribute_from_ref_artist(attr_name, default_value=<deprecated parameter>)[源代码]
get_ref_artist()[源代码]

返回实际定义此艺术家的某些属性(例如颜色)的基础艺术家。

set_ref_artist(artist)[源代码]

[Deprecated]

笔记

3.2 版后已移除:

使用实例 mpl_toolkits.axisartist.axis_artist.AttributeCopier