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 typo in _legend.py : obj.ncol should be obj.ncols#579

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

Open
elicox0 wants to merge1 commit intonschloe:main
base:main
Choose a base branch
Loading
fromelicox0:fix-legend-ncols

Conversation

@elicox0
Copy link

This fixes an AttributeError when a user callsplt.legend() and then saves a figure withtikzplotlib.save. Sinceobj in the relevant line is of typematplotlib.legend.Legend(), the attribute isncols and notncol (seehttps://matplotlib.org/stable/api/legend_api.html#matplotlib.legend.Legend).

@FriedrichFroebel
Copy link

FriedrichFroebel commentedMar 31, 2023
edited
Loading

This duplicates (at least)#574,#565 and#558 and just has not been merged yet, see#574 (comment) as well. This is no typo, but a change frommatplotlib 3.6.0.

elicox0 reacted with thumbs up emoji

@GillesC
Copy link

Why is this not merged?

@FriedrichFroebel
Copy link

Because maintenance is more or less stalled at the moment.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@elicox0@FriedrichFroebel@GillesC

[8]ページ先頭

©2009-2025 Movatter.jp