Skip to content

Commit

Permalink
Backport PR matplotlib#16671: Fix some readme bits
Browse files Browse the repository at this point in the history
  • Loading branch information
story645 authored Mar 9, 2020
1 parent caa677e commit 9b22934
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,19 @@
.. _Gitter: https://gitter.im/matplotlib/matplotlib

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

.. _NUMFocus: https://www.numfocus.org

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

.. image:: doc/_static/logo2.png
.. image:: https://matplotlib.org/_static/logo2.svg


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

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

.. image:: doc/_static/readme_preview.png
.. image:: https://matplotlib.org/_static/readme_preview.png

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

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

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

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

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

Contact
=======
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ def run(self):
with open('lib/matplotlib/mpl-data/matplotlibrc', 'w') as fd:
fd.write(''.join(template_lines))

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

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

0 comments on commit 9b22934

Please sign in to comment.