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

Really fix ArtistInspector.get_aliases#13432

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

Conversation

ImportanceOfBeingErnest
Copy link
Member

@ImportanceOfBeingErnestImportanceOfBeingErnest commentedFeb 14, 2019
edited
Loading

PR Summary

Fixes#13278.

Either#9475 or#12037 brokeArtistInspector.get_aliases which would contrarily to the docstring produce a dictionary of the form

'get_linestyle': {'ls'}, 'get_linewidth': {'lw'},

instead of

 'linestyle': {'ls'}, 'linewidth': {'lw'},

This is detrimental to the documentation of the aliases, which would hence not appear in the docs any more.

Previsouly

image

With this PR

image

Adds a test as well, not to break it again.

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@ImportanceOfBeingErnestImportanceOfBeingErnest added this to thev3.0.3 milestoneFeb 14, 2019
Copy link
Contributor

@anntzeranntzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

oops, thanks for the catch.

@jklymakjklymak merged commit46a704e intomatplotlib:masterFeb 14, 2019
@lumberbot-app
Copy link

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
$ git checkout v3.0.x$ git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
$ git cherry-pick -m1 46a704e22079527f9c47dc43dc7b77d2e4688a6f
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
$ git commit -am 'Backport PR #13432: Really fix ArtistInspector.get_aliases'
  1. Push to a named branch :
git push YOURFORK v3.0.x:auto-backport-of-pr-13432-on-v3.0.x
  1. Create a PR against branch v3.0.x, I would have named this PR:

"Backport PR#13432 on branch v3.0.x"

And apply the correct labels and milestones.

Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon!

If these instruction are inaccurate, feel free tosuggest an improvement.

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

@anntzeranntzeranntzer approved these changes

@jklymakjklymakjklymak approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.0.3
Development

Successfully merging this pull request may close these issues.

Doc: Alias names disappeared from documentation
4 participants
@ImportanceOfBeingErnest@anntzer@jklymak@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp