Skip to content

Commit

Permalink
Parallelogram_depth not optional
Browse files Browse the repository at this point in the history
Other arguments default to None,
closes #64
  • Loading branch information
JorisVincent committed Dec 15, 2022
1 parent f8bef1d commit 031b342
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stimuli/components/shapes.py
Expand Up @@ -226,10 +226,10 @@ def cross(


def parallelogram(
parallelogram_depth,
shape=None,
visual_size=(3.0, 4.0),
ppd=10,
parallelogram_depth=1.0,
visual_size=None,
ppd=None,
orientation="horizontal",
intensity_background=1.0,
intensity_parallelogram=0.5,
Expand All @@ -238,14 +238,14 @@ def parallelogram(
Parameters
----------
parallelogram_depth : float
depth of parallelogram (if negative, skewed to the other side)
shape : Sequence[Number, Number], Number, or None (default)
shape [height, width] of image, in pixels
visual_size : Sequence[Number, Number], Number, or None (default)
visual size [height, width] of image, in degrees
ppd : Sequence[Number, Number], Number, or None (default)
pixels per degree [vertical, horizontal]
parallelogram_depth : float
depth of parallelogram (if negative, skewed to the other side)
orientation : "vertical" or "horizontal" (default)
along which dimension the parallelogram is skewed
intensity_rectangle : float, optional
Expand Down

0 comments on commit 031b342

Please sign in to comment.