-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Fix some readme bits #16671
Fix some readme bits #16671
Conversation
README.rst
Outdated
|
||
.. image:: doc/_static/logo2.png | ||
.. image:: https://matplotlib.org/_static/logo2.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you link this one to matplotlib.org, but the following one to github.com/matplotlib?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And, would it be possible to use the svg logo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latter was added directly to the repo, but wasn't in the docs site as I think it wasn't updated yet. Since it's now there, I'll link it instead because the shorter URL looks better in the unrendered file.
The image appears to be cached on PyPI's side, so let me see if I can find some docs on supported file types.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see SVG in the readme renderer for Warehouse, so I believe it should work and have updated the URL.
See the README on my fork. The SVG starts out bigger, so it's scaled to fit the readme width; not sure if we want to scale it back down to the previous image's size.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No strong opinion on the size, but just checked on mobile. If it‘s not prohibitively large on a Large screen desktop, leave it otherwise scale it down. The air motivation for SVG is that it links good on HiDPI screens.
This otherwise will fail in non-UTF8 locales, and Python 3.6 (which doesn't coerce back to UTF8.) Fixes matplotlib#16670.
PyPI doesn't have our whole repo, so a relative link doesn't work.
Thanks for fixing this, sorry about that! |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
PR Summary
The README now contains some non-ASCII characters, so we should specify an encoding when reading it to produce the long description.
Also, fix the images when the description is put on PyPI; it doesn't have our whole repo, so a relative link doesn't work.
PR Checklist