-
Notifications
You must be signed in to change notification settings - Fork 153
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
Add 2d vector field tab to the scatter plot viewer #1410
Conversation
The test failed because of astropy_table as below:
|
@PennyQ - thanks for working on this! I wonder whether it would be good to have an option to select length and angle instead of vx/vy (I think both would be useful). Also can you add a checkbox to control whether to show the arrow heads? |
@astrofrog The hide arrow and angle/length options are added within the new PR. As you can see below, please let me know anything else can be improved :) |
8d0642b
to
c6e12c8
Compare
I rebased this as I think it may fix the failing tests |
e92804a
to
508d147
Compare
@PennyQ - I fixed the issues, and this looks good, so merging! I'll tweak the UI of this and other things in the scatter plot viewer in a separate pull request. |
As shown below, vx and vy are arrow vectors, the arrow dimensions (except for length) are measured in multiples of the square root of x square plus y square, ref to matplotlib_quiver definition.