Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitea0363d

Browse files
committed
Replace the _backend_mod attribute access with the call to _get_backend_mod function in Figure.__setstate__
1 parent8afcbc2 commitea0363d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,7 @@ def __setstate__(self, state):
30383038
importmatplotlib._pylab_helpersaspylab_helpers
30393039
allnums=plt.get_fignums()
30403040
num=max(allnums)+1ifallnumselse1
3041-
mgr=plt._backend_mod.new_figure_manager_given_figure(num,self)
3041+
mgr=plt._get_backend_mod().new_figure_manager_given_figure(num,self)
30423042
pylab_helpers.Gcf._set_new_active_manager(mgr)
30433043
plt.draw_if_interactive()
30443044

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp