From a4ae7dcf974b87e57ce34e5c21718d17de466dd4 2013-07-15 23:15:33 From: Jonathan Frederic Date: 2013-07-15 23:15:33 Subject: [PATCH] Missing imports --- diff --git a/IPython/nbconvert/transformers/extractfigure.py b/IPython/nbconvert/transformers/extractfigure.py index 5ee5597..15d244d 100755 --- a/IPython/nbconvert/transformers/extractfigure.py +++ b/IPython/nbconvert/transformers/extractfigure.py @@ -14,7 +14,7 @@ notebook file. The extracted figures are returned in the 'resources' dictionary #----------------------------------------------------------------------------- import sys -from IPython.utils.traitlets import Dict, Unicode +from IPython.utils.traitlets import Unicode from .base import ConfigurableTransformer #----------------------------------------------------------------------------- @@ -27,7 +27,6 @@ class ExtractFigureTransformer(ConfigurableTransformer): figures are returned in the 'resources' dictionary. """ - figure_filename_template = Unicode( "{unique_key}_{cell_index}_{index}.{extension}", config=True)