Commits

Ralph Bean  committed 55f02f5

PEP8 in samples.py.

  • Participants
  • Parent commits ff5f8c3

Comments (0)

Files changed (1)

File tw2/jqplugins/flot/samples.py

 from widgets import FlotWidget
 
 import math
+
+
 def f(x):
-    return x/math.pi
+    return x / math.pi
+
 
 class DemoFlot(FlotWidget):
     data = [
         {
-            'data' : [[f(i), math.sin(f(i))] for i in range(20)],
-            'label' : "sin(x)"
+            'data': [[f(i), math.sin(f(i))] for i in range(20)],
+            'label': "sin(x)"
         }
     ]
     label = "sin plot"