-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix pickling of AxesWidgets. #28430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pickling of AxesWidgets. #28430
Conversation
SpanSelector sets the canvas
attrubute in __init__
, which fails because it is readonly now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This apparently breaks SpanSelector
.
31be678
to
f13e212
Compare
There's no need to hold onto the (non-picklable) canvas as an attribute.
Now fixed; the test failure is unrelated. |
Test failure is not unrelated, it is the newly added test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyone can merge on CI finishing
…430-on-v3.9.x Backport PR #28430 on branch v3.9.x (Fix pickling of AxesWidgets.)
There's no need to hold onto the (non-picklable) canvas as an attribute.
Closes #22482.
PR summary
PR checklist