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

Skip to content

Commit 4ec7908

Browse files
committed
import from _backend_bases in backend_agg to avoid implicit Gcf import
1 parent 70939fe commit 4ec7908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_agg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import numpy as np
2929

3030
from matplotlib import verbose, rcParams
31-
from matplotlib.backend_bases import RendererBase,\
31+
from ._backend_bases import RendererBase,\
3232
FigureManagerBase, FigureCanvasBase
3333
from matplotlib.cbook import is_string_like, maxdict, restrict_dict
3434
from matplotlib.figure import Figure

0 commit comments

Comments
 (0)