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

Appearance settings

Commit a538693

Browse filesBrowse files
committed
Merge pull request matplotlib#8287 from tacaswell/fix_picks_rrulewrapper
FIX: add __setstate__ function
1 parent 3ff1153 commit a538693
Copy full SHA for a538693

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎lib/matplotlib/dates.py

Copy file name to clipboardExpand all lines: lib/matplotlib/dates.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,9 @@ def __getattr__(self, name):
718718
return self.__dict__[name]
719719
return getattr(self._rrule, name)
720720

721+
def __setstate__(self, state):
722+
self.__dict__.update(state)
723+
721724

722725
class DateLocator(ticker.Locator):
723726
"""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.