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

Fix figure legend when drawing stackplots#30186

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

Draft
dstansby wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromdstansby:fig-legend-error

Conversation

dstansby
Copy link
Member

PR summary

Fixes#30158 - as suggested in#30158 (comment), two calls were trying to set the figure, and Ithink one of them doesn't need to.

PR checklist

@QuLogic
Copy link
Member

Yes, I believe this is correct;HandlerBase.update_prop will set the correct figure (viaLegend._set_artist_props),HandlerPolyCollection._update_prop exists to do the class-specific work of pulling the properties from the first artist in a collection and doesn't need to set the figure.

This could do with a test though.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[Bug]: Stackplot in SubFigure raises when drawing Legend
2 participants
@dstansby@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp