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

Skip to content

Commit ca6628b

Browse files
authored
Merge pull request #11301 from cclauss/patch-2
Undefined name: cbook --> matplotlib.cbook
2 parents e04da0a + 7867676 commit ca6628b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
plt.switch_backend("Agg")
165165
else:
166166
import matplotlib.pyplot as plt
167-
from matplotlib import _pylab_helpers
167+
from matplotlib import _pylab_helpers, cbook
168168

169169
__version__ = 2
170170

0 commit comments

Comments
 (0)