8000 Backport PR #16671: Fix some readme bits · matplotlib/matplotlib@0cccf26 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cccf26

Browse files
committed
Backport PR #16671: Fix some readme bits
1 parent eff204d commit 0cccf26

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

README.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,24 @@
2323
.. _Gitter: https://gitter.im/matplotlib/matplotlib
2424

2525
.. |NUMFocus| image:: https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
26-
.. _NUMFocus: http://www.numfocus.org
26+
.. _NUMFocus: https://www.numfocus.org
2727

28+
<<<<<<< HEAD
2829

2930
.. |GitTutorial| image:: https://img.shields.io/badge/PR-Welcome-%23FF8300.svg?
3031
.. _GitTutorial: https://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project
3132

3233
.. image:: doc/_static/logo2.png
34+
=======
35+
.. image:: https://matplotlib.org/_static/logo2.svg
36+
>>>>>>> a3e4d0f1b... Merge pull request #16671 from QuLogic/readme-fixes
3337

3438

3539
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
3640

37-
Check out our `home page <http://matplotlib.org/>`_ for more information.
41+
Check out our `home page <https://matplotlib.org/>`_ for more information.
3842

39-
.. image:: doc/_static/readme_preview.png
43+
.. image:: https://matplotlib.org/_static/readme_preview.png
4044

4145
Matplotlib produces publication-quality figures in a variety of hardcopy formats
4246
and interactive environments across platforms. Matplotlib can be used in Python scripts,
@@ -48,7 +52,7 @@ Install
4852
=======
4953

5054
For installation instructions and requirements, see `INSTALL.rst <INSTALL.rst>`_ or the
51-
`install <http://matplotlib.org/users/installing.html>`_ documentation.
55+
`install <https://matplotlib.org/users/installing.html>`_ documentation.
5256

5357
Test
5458
====
@@ -67,7 +71,7 @@ You've worked out a way to fix it – even better!
6771

6872
You want to tell us about it – best of all!
6973

70-
Start at the `contributing guide <http://matplotlib.org/devdocs/devel/contributing.html>`_!
74+
Start at the `contributing guide <https://matplotlib.org/devdocs/devel/contributing.html>`_!
7175

7276
Contact
7377
=======

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ def run(self):
224224
with open('lib/matplotlib/mpl-data/matplotlibrc', 'w') as fd:
225225
fd.write(''.join(template_lines))
226226

227-
# Use Readme as long description
228-
with open('README.rst') as fd:
229-
long_description = fd.read()
227+
# Use Readme as long description
228+
with open('README.rst', encoding='utf-8') as fd:
229+
long_description = fd.read()
230230

231231
# Finally, pass this all along to distutils to do the heavy lifting.
232232
setup(

0 commit comments

Comments
 (0)
0