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

Cleanup and document _plot_args()#19278

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

Merged
QuLogic merged 1 commit intomatplotlib:masterfromtimhoffm:clean-_plot_args
Jan 12, 2021

Conversation

timhoffm
Copy link
Member

@timhoffmtimhoffm commentedJan 11, 2021
edited
Loading

PR Summary

@timhoffmtimhoffm added this to thev3.4.0 milestoneJan 11, 2021
@timhoffmtimhoffmforce-pushed theclean-_plot_args branch 2 times, most recently fromf7aa29d to2ba1c58CompareJanuary 11, 2021 22:10
@timhoffm
Copy link
MemberAuthor

Test failure is unredated (segfault in PyQt).

@@ -417,16 +458,16 @@ def _plot_args(self, tup, kwargs, return_kwargs=False):
raise ValueError("x, y, and format string must not be None")
Copy link
Member

Choose a reason for hiding this comment

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

This would never have checked whetherfmt is None, because of the first if, is it not?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

For(x, y, None), you ended up with the "third arg must be a format string" error. But for(y, None) this check triggers.

Copy link
Member

Choose a reason for hiding this comment

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

Ah yes, because the length checks are different.

@QuLogicQuLogic merged commit325fac9 intomatplotlib:masterJan 12, 2021
@timhoffmtimhoffm deleted the clean-_plot_args branchJanuary 12, 2021 23:55
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic approved these changes

@jklymakjklymakjklymak approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.4.0
Development

Successfully merging this pull request may close these issues.

3 participants
@timhoffm@QuLogic@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp