8000 Merge pull request #16671 from QuLogic/readme-fixes · matplotlib/matplotlib@a3e4d0f · GitHub
[go: up one dir, main page]

Skip to content

Commit a3e4d0f

Browse files
authored
Merge pull request #16671 from QuLogic/readme-fixes
Fix some readme bits
2 parents fe34774 + 95904d2 commit a3e4d0f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@
3838
.. _Downloads: https://pepy.tech/project/matplotlib/month
3939

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

43-
.. image:: doc/_static/logo2.png
43+
.. image:: https://matplotlib.org/_static/logo2.svg
4444

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

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

49-
.. image:: doc/_static/readme_preview.png
49+
.. image:: https://matplotlib.org/_static/readme_preview.png
5050

5151
Matplotlib produces publication-quality figures in a variety of hardcopy formats
5252
and interactive environments across platforms. Matplotlib can be used in Python scripts,
@@ -58,7 +58,7 @@ Install
5858
=======
5959

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

6363
Test
6464
====
@@ -77,7 +77,7 @@ You've worked out a way to fix it – even better!
7777

7878
You want to tell us about it – best of all!
7979

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

8282
Contact
8383
=======

setup.py

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

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

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

0 commit comments

Comments
 (0)
0