-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
drawing with fill or stroke=None produces black fill/stroke #44
Comments
Thanks for the report! It's a good question whether this is a bug or a feature. It's certainly confusing, so I would lean towards bug. Looking at the C++ code clarified things a bit for me. Basically, passing Do you think a descriptive exception would help here if the drawing mode is "incompatible" with the given stroke/fill paint? |
Alternately, perhaps the default could be Or is there a reason that |
I've updated the documentation. The docstrings now reflect better what is happening internally. |
Looks very clear now! Thanks :) |
Is it a bug or a feature that using
draw_shape()
withfill=None
orstroke=None
will produce an image with a black fill or stroke? I had assumed that passingNone
would result in no fill or stroke. Simple example follows:The text was updated successfully, but these errors were encountered: