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 265e49e

Browse filesBrowse files
committed
MNT: add the running version to pickle warning message
1 parent e5a85f9 commit 265e49e
Copy full SHA for 265e49e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3168,8 +3168,8 @@ def __setstate__(self, state):
31683168
if version != mpl.__version__:
31693169
_api.warn_external(
31703170
f"This figure was saved with matplotlib version {version} and "
3171-
f"is unlikely to function correctly.")
3172-
3171+
f"loaded with {mpl.__version__} so is unlikely to function correctly."
3172+
)
31733173
self.__dict__ = state
31743174

31753175
# re-initialise some of the unstored state information

0 commit comments

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