In [68]: from yt.imods import *
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
/home/gvn22/local/lib/python2.7/site-packages/yt-2.7dev-py2.7-linux-x86_64.egg/EGG-INFO/scripts/iyt in <module>()
----> 1 from yt.imods import *

/home/gvn22/local/lib/python2.7/site-packages/yt-2.7dev-py2.7-linux-x86_64.egg/yt/imods.py in <module>()
10 inst = InteractiveShell.instance()
11 ip = inst.get_ipython()
---> 12 ip.enable_pylab("inline", import_all=False)
13
14 from yt.config import ytcfg

/home/gvn22/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in enable_pylab(self, gui, import_all, welcome_message)
2924 from IPython.core.pylabtools import import_pylab
2925
-> 2926 gui, backend = self.enable_matplotlib(gui)
2927
2928 # We want to prevent the loading of pylab to pollute the user's

/home/gvn22/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in enable_matplotlib(self, gui)
2890 # Now we must activate the gui pylab wants to use, and fix %run to take
2891 # plot updates into account
-> 2892 self.enable_gui(gui)
2893 self.magics_manager.registry['ExecutionMagics'].default_runner = \
2894 pt.mpl_runner(self.safe_execfile)

/home/gvn22/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in enable_gui(self, gui)
2849
2850 def enable_gui(self, gui=None):
-> 2851 raise NotImplementedError('Implement enable_gui in a subclass')
2852
2853 def enable_matplotlib(self, gui=None):

NotImplementedError: Implement enable_gui in a subclass



Created: 28/02/2014
Changed: 28/02/2014
Visits: 73
Online: 0