Browse Source

added type hinting to example.Sine

master
phryk 8 months 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):

class Sine(poobrains.svg.plot.Dataset):

def fill(self, length=10):
def fill(self, length: int=10):

inc = (2 * math.pi) / (length - 1)
#inc = 1.0 / (length - 1)


Loading…
Cancel
Save