From 55f8eb230be7143a8252138ab3554b86ba8fe214 Mon Sep 17 00:00:00 2001 From: Jack Minardi Date: Mon, 7 Jul 2014 18:46:32 -0400 Subject: [PATCH] fix flake8 noise --- examples/enable_canvas/enable_canvas_view.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/enable_canvas/enable_canvas_view.py b/examples/enable_canvas/enable_canvas_view.py index 5417c30..93b1937 100644 --- a/examples/enable_canvas/enable_canvas_view.py +++ b/examples/enable_canvas/enable_canvas_view.py @@ -19,6 +19,7 @@ from traits.api import HasStrictTraits, Instance from chaco.api import ArrayPlotData, jet, Plot + class Model(HasStrictTraits): plot = Instance(Plot, ()) @@ -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() @@ -40,7 +41,6 @@ def _plot_default(self): return plot - if __name__ == '__main__': with traits_enaml.imports(): from enable_canvas import Main