Skip to content
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

Figure.text changes #11568

Merged
merged 1 commit into from Jul 4, 2018
Merged

Figure.text changes #11568

merged 1 commit into from Jul 4, 2018

Conversation

fredrik-1
Copy link
Contributor

Some changes to Figure.text. Figure.text now work more similar to Axes.text.

  • The transform keyword didn't work for Figure.text so I fixed that.

  • Explicitly added the fontdict keyword.

  • I also added a withdash keyword (but I am not sure if it is necessary)

  • Changed the implementation to be more explicit (I am not sure if text._process_text_args is used anywhere now).

  • Has Pytest style unit tests

  • Code is PEP 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

@fredrik-1 fredrik-1 force-pushed the figure.text branch 2 times, most recently from 2c661e0 to e393861 Compare July 4, 2018 09:36
@jklymak jklymak merged commit 3bf263b into matplotlib:master Jul 4, 2018
@jklymak
Copy link
Member

jklymak commented Jul 4, 2018

Thanks @fredrik-1 !

@QuLogic QuLogic added this to the v3.0 milestone Jul 5, 2018
@fredrik-1 fredrik-1 deleted the figure.text branch July 20, 2018 13:14
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.

None yet

3 participants