Skip to content

Commit

Permalink
fix flake8 noise
Browse files Browse the repository at this point in the history
  • Loading branch information
jminardi committed Jul 7, 2014
1 parent a430675 commit 55f8eb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/enable_canvas/enable_canvas_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from traits.api import HasStrictTraits, Instance
from chaco.api import ArrayPlotData, jet, Plot


class Model(HasStrictTraits):

plot = Instance(Plot, ())
Expand All @@ -27,8 +28,8 @@ def _plot_default(self):
# Create a scalar field to colormap
xs = linspace(0, 10, 600)
ys = linspace(0, 5, 600)
x, y = meshgrid(xs,ys)
z = exp(-(x**2+y**2)/100)
x, y = meshgrid(xs, ys)
z = exp(-(x ** 2 + y ** 2) / 100)

# Create a plot data object and give it this data
pd = ArrayPlotData()
Expand All @@ -40,7 +41,6 @@ def _plot_default(self):
return plot



if __name__ == '__main__':
with traits_enaml.imports():
from enable_canvas import Main
Expand Down

0 comments on commit 55f8eb2

Please sign in to comment.