Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a538693

Browse files
committed
Merge pull request #8287 from tacaswell/fix_picks_rrulewrapper
FIX: add __setstate__ function
1 parent 3ff1153 commit a538693

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/dates.py

Lines 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)