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

Contour label demo would benefit from some more info and/or references. #18974

Closed
jonnyhtw opened this issue Nov 18, 2020 · 2 comments
Closed
Milestone

Comments

@jonnyhtw
Copy link

Problem

Hi there

  • I found the first example in the contour label demo to be unclear because it uses the format statements %r and %% without explanation or reference.
  • I have included a screenshot of the part of the docs that I am referring to.

Suggested Improvement

  • I think it would improve the documentation to include further information on this or provide a reference for further reading.

All the best.

Jonny Williams

image

@timhoffm
Copy link
Member

This is "only" standard Python percent formatting (%r formatting with repr(), %% being a literal percent).

Anyway, The formatting has been replaced in #18976
For the updated version see https://matplotlib.org/devdocs/gallery/images_contours_and_fields/contour_label_demo.html

@jonnyhtw
Copy link
Author

This is "only" standard Python percent formatting (%r formatting with repr(), %% being a literal percent).

Anyway, The formatting has been replaced in #18976
For the updated version see https://matplotlib.org/devdocs/gallery/images_contours_and_fields/contour_label_demo.html

Thanks Tim, that's a lot clearer now I think. 😄

@QuLogic QuLogic added this to the v3.4.0 milestone Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants