Browse Source

added type hinting to example.Sine

master
phryk 1 month ago
parent
commit
08ab3fa595
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      example.py

+ 1
- 1
example.py View File

@@ -239,7 +239,7 @@ class ConstrainedRandom(poobrains.svg.plot.Dataset):
239 239
 
240 240
 class Sine(poobrains.svg.plot.Dataset):
241 241
 
242
-    def fill(self, length=10):
242
+    def fill(self, length: int=10):
243 243
 
244 244
         inc = (2 * math.pi) / (length - 1)
245 245
         #inc = 1.0 / (length - 1)

Loading…
Cancel
Save