-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Non-working 'set_visible' method for PatchCollection #6000
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
Comments
Can you provide a minimal (not) working example? |
Sure,
I expected the last plot to be empty, don't know if it is the wanted behaviour though. |
Interesting, looking at the code for streamplot, the arrows are each added as individual patches, then put into the collection and the collection is returned. |
And the obvious thing of not adding the arrows as they are created and adding the PatchCollection later results in the arrows not being drawn at all (not sure why yet). |
I tried adding a simple arrow through I'm also confused about the use of
|
This is in essence a duplicate of #2341, namely that |
matplotlib.collections.PatchCollection.set_visible
doesn't seem to work.I was unable to set the arrows of a
pyplot.streamplot
invisible.The text was updated successfully, but these errors were encountered: