Skip to content

Commit

Permalink
Merge pull request #509 from enthought/fix/hastraits-import
Browse files Browse the repository at this point in the history
Import from traits.api instead of from traits.has_traits
  • Loading branch information
mdickinson authored Feb 11, 2020
2 parents 8e237b9 + 2bd4c2b commit 2ac15c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/user_guide/plot_types/plot_window.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from chaco.api import PlotComponent
from chaco.data_view import DataView
from enable.component_editor import ComponentEditor
from traits.api import HasTraits, Instance
from traits.has_traits import on_trait_change
from traits.api import HasTraits, Instance, on_trait_change
from traitsui.api import Item, View

class PlotWindow(HasTraits):
Expand Down

0 comments on commit 2ac15c0

Please sign in to comment.