Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Forward select Rectangle kwargs to Connection patch#24082

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

ejmercier
Copy link

@ejmercierejmercier commentedOct 3, 2022
edited
Loading

PR Summary

Closes#23424
This bug fix forwards**kwargs from the indicate_inset function into theConnection Patch. It uses a blacklist to decide which ones should be passed aspatch_kwargs to theConnection Patch and not theRectangle patch.

PR Checklist

Tests and Styling

  • Has pytest style unit tests (andpytest passes).
  • IsFlake 8 compliant (installflake8-docstrings and runflake8 --docstring-convention=all).

Documentation

  • [N/A ] New features are documented, with examples if plot related.
  • [N/A ] New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • [N/A] API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).
  • [N/A] Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).

@ejmercierejmercierforce-pushed theedgecolor-connector-bug branch fromc31fc6f to6a67b8eCompareOctober 3, 2022 01:34
@ejmercierejmercier changed the titleForwarded select Rectangle kwargs to the Conneciton patchForwarded select Rectangle kwargs to the Connection patchOct 3, 2022
@oscargus
Copy link
Member

Thanks! Can you please add a test?

I think a suitable test is to set some of the parameters and then check that the resulting ConnectorPatch have the expected values.

timhoffm and ejmercier reacted with thumbs up emoji

@ejmercier
Copy link
Author

Yes I can add a test. Is there a specific place where I should create it?

@oscargus
Copy link
Member

I think thattest_axes.py would be a good place.https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/tests/test_axes.py

ejmercier reacted with thumbs up emoji

@oscargusoscargus changed the titleForwarded select Rectangle kwargs to the Connection patchForward select Rectangle kwargs to Connection patchOct 13, 2022
ejmercierand others added2 commitsOctober 15, 2022 15:33
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
@rcomer
Copy link
Member

Hi@ejmercier are you still interested in working on this one? It looks like it still needs a test.

I'm going to mark this as "draft" for now. Please mark it as "ready for review" when you are ready. In the meantime, if you need help, feel free to ask questions here. Or you may prefer to ask them in ourincubator gitter room.

@rcomerrcomer marked this pull request as draftJanuary 30, 2023 19:28
@ejmercier
Copy link
Author

@rcomer thanks for checking up! I'm still looking to work on this. I'll plan to write the test soon and move it out of drafts! If I have any questions I'll reach out

rcomer and melissawm reacted with thumbs up emoji

@rcomer
Copy link
Member

The target issue here has now been addressed as part of a larger change in#27996. Thank you for your work here@ejmercier.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic left review comments

Assignees
No one assigned
Projects
Status: Waiting for author
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[Bug]: Axes.indicate_inset(linewidth=...) doesn't affect connectors
4 participants
@ejmercier@oscargus@rcomer@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp