~ubuntu-branches/ubuntu/utopic/python-chaco/utopic

« back to all changes in this revision

Viewing changes to examples/advanced/spectrum.py

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2011-04-06 19:03:54 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110406190354-rwd55l2ezjecfo41
Tags: 3.4.0-2
d/rules: fix pyshared directory path (Closes: #621116)

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
 
177
177
from enthought.etsconfig.api import ETSConfig
178
178
 
179
 
if ETSConfig.enable_toolkit == "wx":
 
179
if ETSConfig.toolkit == "wx":
180
180
 
181
181
    import wx
182
182
    class PlotFrame(DemoFrame):
205
205
            self.timer.Stop()
206
206
            event.Skip()
207
207
 
208
 
elif ETSConfig.enable_toolkit == "qt4":
 
208
elif ETSConfig.toolkit == "qt4":
209
209
 
210
 
    from PyQt4 import QtGui, QtCore
 
210
    from enthought.qt import QtGui, QtCore
211
211
 
212
212
    class PlotFrame(DemoFrame):
213
213
        def _create_window(self):