Skip to content

Commit 9b22934

Browse files
authored
Backport PR #16671: Fix some readme bits
1 parent caa677e commit 9b22934

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

README.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,19 @@
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
27-
26+
.. _NUMFocus: https://www.numfocus.org
2827

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

32-
.. image:: doc/_static/logo2.png
31+
.. image:: https://matplotlib.org/_static/logo2.svg
3332

3433

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

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

39-
.. image:: doc/_static/readme_preview.png
38+
.. image:: https://matplotlib.org/_static/readme_preview.png
4039

4140
Matplotlib produces publication-quality figures in a variety of hardcopy formats
4241
and interactive environments across platforms. Matplotlib can be used in Python scripts,
@@ -48,7 +47,7 @@ Install
4847
=======
4948

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

5352
Test
5453
====
@@ -67,7 +66,7 @@ You've worked out a way to fix it – even better!
6766

6867
You want to tell us about it – best of all!
6968

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

7271
Contact
7372
=======

setup.py

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

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

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

0 commit comments

Comments
 (0)