Skip to content

Commit ac1a333

Browse files
committed
STY: remove unused imports in plot_directive
1 parent f896381 commit ac1a333

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,13 @@
133133
import six
134134
from six.moves import xrange
135135

136-
import sys, os, glob, shutil, imp, warnings, io, re, textwrap
136+
import sys, os, shutil, io, re, textwrap
137137
import traceback
138138

139139
if not six.PY3:
140140
import cStringIO
141141

142142
from docutils.parsers.rst import directives
143-
from docutils import nodes
144143
from docutils.parsers.rst.directives.images import Image
145144
align = Image.align
146145
import sphinx

0 commit comments

Comments
 (0)