Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cannot unpickle polar plot #4068

Closed
Closed
Labels
Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Milestone
@joergdietrich

Description

@joergdietrich

I create the polar plot example fromhttp://matplotlib.org/examples/pie_and_polar_charts/polar_scatter_demo.html

Then

fig = plt.gcf()pf = pickle.dumps(fig)f2 = pickle.loads(pf)

throws the following exception:

/home/joerg/applications/anaconda3/lib/python3.4/site-packages/matplotlib/transforms.py in __setstate__(self, data_dict)    116         self.__dict__ = data_dict    117         # turn the normal dictionary back into a WeakValueDictionary--> 118         self._parents = WeakValueDictionary(self._parents)    119     120     def __copy__(self, *args):AttributeError: 'PolarAffine' object has no attribute '_parents'

Note that this is separate from issue#3483 in thatplt.ioff() before unpickling does not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp