Skip to content

Commit 818cf19

Browse files
committed
Make plot_directive py3 friendly
1 parent 19b1a05 commit 818cf19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@
125125
"""
126126
from __future__ import print_function
127127

128-
import sys, os, glob, shutil, imp, warnings, cStringIO, re, textwrap, \
129-
traceback, exceptions
128+
import sys, os, glob, shutil, imp, warnings, cStringIO, re, textwrap
129+
import traceback
130130

131131
from docutils.parsers.rst import directives
132132
from docutils import nodes

0 commit comments

Comments
 (0)