Skip to content

Updated the docstring for pyplot.figure to list floats as the type for figsize argument #13212

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 2 commits into from
Jan 18, 2019

Conversation

monocongo
Copy link
Contributor

PR Summary

I changed the docstring for pyplot.figure to mention the proper type of values for the figsize argument (integer -> float).

This PR addresses matplotlib issue #13208

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 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

… for the figsize argument (integer -> float)

addresses matplotlib issue #13208
explicit tuple in docstring for figsize argument of figure

Co-Authored-By: monocongo <monocongo@gmail.com>
@NelleV NelleV merged commit a2e2acf into matplotlib:master Jan 18, 2019
@NelleV
Copy link
Member

NelleV commented Jan 18, 2019

Thank you @monocongo !

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jan 18, 2019
… to list floats as the type for figsize argument
dstansby added a commit that referenced this pull request Jan 20, 2019
…212-on-v3.0.x

Backport PR #13212 on branch v3.0.x (Updated the docstring for pyplot.figure to list floats as the type for figsize argument)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants