We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5a85f9 commit 265e49eCopy full SHA for 265e49e
1 file changed
lib/matplotlib/figure.py
@@ -3168,8 +3168,8 @@ def __setstate__(self, state):
3168
if version != mpl.__version__:
3169
_api.warn_external(
3170
f"This figure was saved with matplotlib version {version} and "
3171
- f"is unlikely to function correctly.")
3172
-
+ f"loaded with {mpl.__version__} so is unlikely to function correctly."
+ )
3173
self.__dict__ = state
3174
3175
# re-initialise some of the unstored state information
0 commit comments