-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add set_XY
and set_data
to Quiver
#22407
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
Conversation
The API seems fine, though I wonder about providing the conveniences, versus just |
I put in both since
I'm a bit confused. the example changes after some time so since it's displayed already you need to call draw to update it |
I dont think of fig.canvas.draw as user-facing. |
|
arrows; their locations are fixed when the class is | ||
instantiated. Possibly this method will be useful | ||
in animations. | ||
The only API methods are ``set_UVC()``, ``set_XY``, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove "only"? (Does three count as only?)
Single back-ticks will link, right? I guess one should be consistent with either using ()
for all or none of the methods.
Couldn't comment in the source, but
which no longer is correct. |
I think this would be nice to get into 3.7. Would you have time to update it? I guess one can use the docs of the original Quiver class to explain the U, V, and C arguments in |
maybe - when is the deadline there? jan 1? Also dependent on figuring out what I meant by:
also
probably won't be able to do that |
U, V : ??? | ||
C : ??? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to self - this is part of the "cleaning up"
As I understand it, yes, but with some margins. |
We can still do that later. Already having this on |
@ianhi I'll move to Draft until you have time to come back to this... |
This was replaced by #26410. |
PR Summary
Will close #22402 and close #11790
still a bit of tidying up to do, and should probably pair with a similar implementation for Barb.
Opening early to get feedback I think I did all the shape setting correctly, but not entirely clear whats happening with all the masking. Also this will enable modifying the number of points and there was originally some concern about that.
Example script:
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).