Skip to content

Commit e68e362

Browse files
authored
Updated readme for PyPa
* Updated language to match copy on https://matplotlib.org/devdocs/ * Added logo + front page images * removed link to developer notes since ended up not using that * removed link to gitwash generated docs since they're not very good * used python -mpytest language since it's more robust * updated testing link and shortened to one option * moved contact down 'cause on pypa that information is in the sidebar & for other folks reading the readme they're probably looking for contributions
1 parent 770a87c commit e68e362

File tree

1 file changed

+19
-35
lines changed

1 file changed

+19
-35
lines changed

README.rst

Lines changed: 19 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -40,50 +40,45 @@
4040
.. |NUMFocus| image:: https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
4141
.. _NUMFocus: http://www.numfocus.org
4242

43+
.. image:: doc/_static/logo2.png
4344

44-
.... image:: doc/_static/logo2.svg
45+
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
4546

46-
##########
47-
Matplotlib
48-
##########
49-
Matplotlib is a comprehensive library for creating static, animated,
50-
and interactive visualizations in Python.
47+
Check out our `home page <http://matplotlib.org/>`_ for more information.
5148

49+
.. image:: doc/_static/readme_preview.png
5250

5351
Matplotlib produces publication-quality figures in a variety of hardcopy formats
5452
and interactive environments across platforms. Matplotlib can be used in Python scripts,
5553
the Python and IPython shell, web application servers, and various
5654
graphical user interface toolkits.
5755

58-
NOTE: The current master branch is now Python 3 only. Python 2 support is
59-
being dropped.
60-
61-
`Home page <http://matplotlib.org/>`_
56+
**Note:** The master branch is Python 3 only. Python 2 support is being dropped.
6257

6358
Install
6459
=======
6560

66-
For installation instructions and requirements, see the INSTALL.rst file or the
67-
`install <http://matplotlib.org/users/installing.html>`_ documentation. If you
68-
think you may want to contribute to matplotlib, check out the `guide to
69-
working with the source code
70-
<http://matplotlib.org/devel/gitwash/index.html>`_.
61+
For installation instructions and requirements, see `INSTALL.rst <INSTALL.rst>`_ or the
62+
`install <http://matplotlib.org/users/installing.html>`_ documentation.
7163

7264
Test
7365
====
7466

75-
After installation, you can launch the test suite::
67+
After installation, launch the test suite::
7668

77-
pytest
69+
python -mpytest
7870

79-
Or from the Python interpreter::
71+
Read the `testing guide <https://matplotlib.org/devel/testing.html>`_ for more information and alternatives.
8072

81-
import matplotlib
82-
matplotlib.test()
73+
Contribute
74+
==========
75+
You've discovered a bug or something else you want to change - excellent!
8376

84-
Consider reading http://matplotlib.org/devel/coding_guide.html#testing for more
85-
information. Note that the test suite requires pytest. Please install with pip
86-
or your package manager of choice.
77+
You've worked out a way to fix it – even better!
78+
79+
You want to tell us about it – best of all!
80+
81+
Start at the `contributing guide <http://matplotlib.org/devdocs/devel/contributing.html>`_!
8782

8883
Contact
8984
=======
@@ -95,24 +90,13 @@ Our active mailing lists (which are mirrored on Discourse) are:
9590
* `Announcement <https://mail.python.org/mailman/listinfo/matplotlib-announce>`_ mailing list: matplotlib-announce@python.org
9691
* `Development <https://mail.python.org/mailman/listinfo/matplotlib-devel>`_ mailing list: matplotlib-devel@python.org
9792

98-
9993
Gitter_ is for coordinating development and asking questions directly related
10094
to contributing to matplotlib.
10195

102-
Contribute
103-
==========
104-
You've discovered a bug or something else you want to change - excellent!
105-
106-
You've worked out a way to fix it – even better!
107-
108-
You want to tell us about it – best of all!
109-
110-
Start at the `contributing guide <http://matplotlib.org/devdocs/devel/contributing.html>`_!
111-
112-
Developer notes are now at `Developer Discussions <https://github.com/orgs/matplotlib/teams/developers/discussions>`_ (Note: For technical reasons, this is currently only accessible for matplotlib developers.)
11396

11497
Citing Matplotlib
11598
=================
11699
If Matplotlib contributes to a project that leads to publication, please
117100
acknowledge this by citing Matplotlib.
101+
118102
`A ready-made citation entry <https://matplotlib.org/citing.html>`_ is available.

0 commit comments

Comments
 (0)