Skip to content

Ensure figsize is positive finite #13859

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 4, 2019

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Apr 3, 2019

PR Summary

Fixes #13857. We were only checking for finite figsize. Changed that to positive finite.

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant

Copy link
Member

@WeatherGod WeatherGod left a comment

Choose a reason for hiding this comment

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

Just a style fix. Otherwise, looks good.


def test_invalid_figure_add_axes():
Copy link
Member

Choose a reason for hiding this comment

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

Need two blank lines here, which is what travis is failing on.

Copy link
Member Author

Choose a reason for hiding this comment

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

Style fixed.

@timhoffm timhoffm requested a review from WeatherGod April 4, 2019 00:20
@tacaswell tacaswell added this to the v3.2.0 milestone Apr 4, 2019
@timhoffm
Copy link
Member Author

timhoffm commented Apr 4, 2019

This is ready to merge.

@anntzer anntzer merged commit 0f0ef9c into matplotlib:master Apr 4, 2019
@anntzer anntzer mentioned this pull request Apr 4, 2019
6 tasks
@timhoffm timhoffm deleted the positive-figsize branch April 5, 2019 00:43
@amueller
Copy link
Contributor

amueller commented Apr 5, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants