We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wanted to get two rotated rectangles of different sizes, centered at the same point.
stim = shapes.rectangle(visual_size=(15,15), ppd=10, rectangle_size=(4,4), rectangle_position=(3,3), rotation=30) stim_i = shapes.rectangle(visual_size=(15,15), ppd=10, rectangle_size=(3,3), rectangle_position=(3,3), rotation=30) new_img = stim["img"] - stim_i["img"] plt.imshow(new_img)
I would expect the rectangles to line up either at the corners or the center.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context
I wanted to get two rotated rectangles of different sizes, centered at the same point.
Minimal Reproducible Example
Expected behavior
I would expect the rectangles to line up either at the corners or the center.
Observed behavior
The text was updated successfully, but these errors were encountered: