Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix setter for Axis::matches to take string arg #178

Merged
merged 4 commits into from
Jun 19, 2024

Conversation

sebdotv
Copy link
Contributor

@sebdotv sebdotv commented Jan 18, 2024

Fixes #156

Breaking change: existing function Axis::matches(bool) renamed to matches_x

Breaking change: existing function Axis::matches(bool) renamed to matches_x
@andrei-ng andrei-ng self-assigned this Jun 12, 2024
 - follow similar implemnetation as python plotly

fixes plotly#156

Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com>
@andrei-ng
Copy link
Collaborator

@sebdotv , I changed the implementation in your PR and made matches take a &str rather then a bool. This way the implementation matches both the python implementation and the API remains the same. This should fix #156.
@sebdotv do you agree?

@sebdotv
Copy link
Contributor Author

sebdotv commented Jun 19, 2024

Absolutely!
That's great, thank you for looking into it

@andrei-ng andrei-ng merged commit 4815df7 into plotly:main Jun 19, 2024
17 of 19 checks passed
@andrei-ng andrei-ng changed the title Add setter for Axis::matches Fix setter for Axis::matches to take string arg Jun 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Axis::matches is hardcoded to "x"
3 participants