-
Notifications
You must be signed in to change notification settings - Fork 476
Add +, x and . as markers #1506
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
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.
I like the new markers. Thanks!
Note to self: Open follow-up issue after this PR is merged to request "+" to be changed to thin "+" sign and "P" (uppercase P) to be the current "thick +" sign that is mapped to "+" symbol (like Matplotlib).
|
Thanks for the PR, Matt! For what it's worth, the pyplot interface was not
designed with for compatibility with matplotlib. It's an issue we want to
resolve for 1.x. Chakri can probably discuss it in more details as it's his
implementation
…On Sat, Jul 16, 2022, 15:18 P. L. Lim ***@***.***> wrote:
***@***.**** approved this pull request.
I like the new markers. Thanks!
Note to self: Open follow-up issue after this PR is merged to request "+"
to be changed to thin "+" sign and "P" (uppercase P) to be the current
"thick +" sign that is mapped to "+" symbol.
—
Reply to this email directly, view it on GitHub
<#1506 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFZICWMBJUCHCXD5EBH4HUTVUMYMZANCNFSM53YQXAUA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Will dig into the visual regression test during the week. Looks like node is failing building node-pre-gyp for some reason. |
b1fd2aa to
25425e2
Compare
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.
@mwcraig Thanks again for this PR! 🤗
Would it be possible to make the addition consistent by adding the new marker annotations to the following places?
- https://github.com/mwcraig/bqplot/blob/25425e2dbfdc55eba081bf26516e6ab476ebbeeb/bqplot/marks.py#L330
- https://github.com/mwcraig/bqplot/blob/25425e2dbfdc55eba081bf26516e6ab476ebbeeb/bqplot/marks.py#L409
Also, an updated example in the Lines.ipynb (where we list the different available markers) notebook would be awesome!
And finally, once the notebook above is updated, we can add some visual regression testing via this PR. Thanks again! 💚
|
@ibdafna -- I've addressed the review comments. |
martinRenou
left a comment
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.
Thanks a lot Matt!
|
meeseeksdev please backport to 0.12.x |
…6-on-0.12.x Backport PR #1506 on branch 0.12.x (Add +, x and . as markers)

References
Closes #1457
Code changes
See below
User-facing changes
This adds three more scatter marker shapes:
plus, which makes the shape+, with the shortcutpcrosshair, which makes the shape×, with the shortcutxpoint, which makes a small circle, with the shortcut.Backwards-incompatible changes
N/A