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

Skip to content

Commit f355c0c

Browse files
committed
removed un-needed Gcf import
changed imports to _backend_bases to avoid implicit Gcf import
1 parent 58ea364 commit f355c0c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/backends/backend_gdk.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ def fn_name():
2727

2828
import matplotlib
2929
from matplotlib import rcParams
30-
from matplotlib._pylab_helpers import Gcf
31-
from matplotlib.backend_bases import RendererBase, GraphicsContextBase, \
32-
FigureManagerBase, FigureCanvasBase
30+
from ._backend_bases import (RendererBase, GraphicsContextBase,
31+
FigureManagerBase, FigureCanvasBase)
3332
from matplotlib.cbook import is_string_like
3433
import matplotlib.cbook as mcbook
3534
from matplotlib.figure import Figure

0 commit comments

Comments
 (0)