Skip to content

Conversation

@mwcraig
Copy link
Contributor

@mwcraig mwcraig commented Jul 16, 2022

References

Closes #1457

Code changes

See below

User-facing changes

This adds three more scatter marker shapes:

  • plus, which makes the shape +, with the shortcut p
  • crosshair, which makes the shape ×, with the shortcut x
  • point, which makes a small circle, with the shortcut .

Backwards-incompatible changes

N/A

@mwcraig
Copy link
Contributor Author

mwcraig commented Jul 16, 2022

@ibdafna @pllim

@mwcraig mwcraig changed the title Add + and x as markers Add +, x and . as markers Jul 16, 2022
Copy link
Contributor

@pllim pllim left a 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).

@ibdafna
Copy link
Member

ibdafna commented Jul 16, 2022 via email

@ibdafna
Copy link
Member

ibdafna commented Jul 17, 2022

Will dig into the visual regression test during the week. Looks like node is failing building node-pre-gyp for some reason.

@ibdafna ibdafna force-pushed the add-markers-x-and-+ branch from b1fd2aa to 25425e2 Compare July 21, 2022 20:12
Copy link
Member

@ibdafna ibdafna left a 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?

Also, an updated example in the Lines.ipynb (where we list the different available markers) notebook would be awesome!

image

And finally, once the notebook above is updated, we can add some visual regression testing via this PR. Thanks again! 💚

@mwcraig
Copy link
Contributor Author

mwcraig commented Sep 23, 2022

@ibdafna -- I've addressed the review comments.

Copy link
Member

@martinRenou martinRenou left a 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!

@martinRenou martinRenou merged commit 406d590 into bqplot:master Sep 29, 2022
@martinRenou
Copy link
Member

meeseeksdev please backport to 0.12.x

meeseeksmachine pushed a commit to meeseeksmachine/bqplot that referenced this pull request Sep 29, 2022
martinRenou added a commit that referenced this pull request Sep 29, 2022
…6-on-0.12.x

Backport PR #1506 on branch 0.12.x (Add +, x and . as markers)
@mwcraig mwcraig deleted the add-markers-x-and-+ branch May 20, 2025 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support marker style "." for pyplot

4 participants