Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bc09d92

Browse filesBrowse files
committed
Reorganize intro section on main page
1 parent af4ab53 commit bc09d92
Copy full SHA for bc09d92

File tree

Expand file treeCollapse file tree

2 files changed

+71
-23
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+71
-23
lines changed

‎doc/_static/mpl.css

Copy file name to clipboardExpand all lines: doc/_static/mpl.css
+35Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,3 +1218,38 @@ hr.box-sep {
12181218
flex: 0 0 90%;
12191219
}
12201220
}
1221+
1222+
/* bullet boxes on main page */
1223+
div.bullet-box-container {
1224+
display: flex;
1225+
flex-wrap: wrap;
1226+
margin: 1em 0;
1227+
}
1228+
1229+
div.bullet-box {
1230+
flex-grow: 1;
1231+
width: 28%;
1232+
margin: 0.4em;
1233+
padding: 0 1em;
1234+
background: #eff9ff;
1235+
}
1236+
1237+
div.bullet-box p:first-of-type {
1238+
font-size: 1.4em;
1239+
text-align: center;
1240+
}
1241+
1242+
div.bullet-box ul {
1243+
padding-left: 1.2em;
1244+
}
1245+
1246+
div.bullet-box li {
1247+
padding-left: 0.3em;
1248+
margin-bottom: 0.3em;
1249+
}
1250+
1251+
@media only screen and (max-width: 930px){
1252+
div.bullet-box {
1253+
flex: 0 0 90%;
1254+
}
1255+
}

‎doc/index.rst

Copy file name to clipboardExpand all lines: doc/index.rst
+36-23Lines changed: 36 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22

33
.. title:: Matplotlib: Python plotting
44

5-
Matplotlib is a Python 2D plotting library which produces publication quality
6-
figures in a variety of hardcopy formats and interactive environments across
7-
platforms. Matplotlib can be used in Python scripts, the Python and IPython_
8-
shells, the Jupyter_ notebook, web application servers, and four graphical user
9-
interface toolkits.
5+
Matplotlib: Visualization with Python
6+
-------------------------------------
107

11-
.. _IPython: http://ipython.org
12-
.. _Jupyter: http://jupyter.org
8+
Matplotlib supports your visualization tasks, from simple plots to complex,
9+
publication quality and interactive figures.
1310

1411
.. raw:: html
1512

@@ -35,19 +32,41 @@ interface toolkits.
3532
</div>
3633
<span class="clear_screenshots"></span>
3734

38-
Matplotlib tries to make easy things easy and hard things possible. You
39-
can generate plots, histograms, power spectra, bar charts, errorcharts,
40-
scatterplots, etc., with just a few lines of code. For examples, see the
41-
:doc:`sample plots <tutorials/introductory/sample_plots>` and :doc:`thumbnail
42-
gallery <gallery/index>`.
35+
Matplotlib makes easy things easy and hard things possible.
4336

44-
For simple plotting the :mod:`.pyplot` module provides a MATLAB-like interface,
45-
particularly when combined with IPython. For the power user, you have full
46-
control of line styles, font properties, axes properties, etc, via an object
47-
oriented interface or via a set of functions familiar to MATLAB users.
37+
.. container:: bullet-box-container
38+
39+
.. container:: bullet-box
40+
41+
Create
42+
43+
- Develop `publication quality plots`_ with just with just a few lines of code
44+
- Use `interactive figures`_ that can zoom, pan, update...
45+
46+
.. _publication quality plots: https://matplotlib.org/gallery/index.html
47+
.. _interactive figures: https://matplotlib.org/gallery/index.html#event-handling
48+
49+
.. container:: bullet-box
50+
51+
Customize
52+
53+
- `Take full control`_ of line styles, font properties, axes properties...
54+
- `Export and embed`_ to a number of file formats and interactive environments
55+
56+
.. _Take full control: https://matplotlib.org/tutorials/index.html#tutorials
57+
.. _Export and embed: https://matplotlib.org/api/index_backend_api.html
58+
59+
.. container:: bullet-box
60+
61+
Extend
62+
63+
- Explore tailored functionality provided by
64+
:doc:`third party packages <thirdpartypackages/index>`
65+
- Learn more about matplotlib through our many
66+
:doc:`external learning resources <resources/index>`
4867

4968
Documentation
50-
-------------
69+
~~~~~~~~~~~~~
5170

5271
This is the documentation for Matplotlib version |version|.
5372

@@ -98,12 +117,6 @@ Trying to learn how to do a particular kind of plot? Check out the
98117
:doc:`examples gallery <gallery/index>` or the :doc:`list of plotting commands
99118
<api/pyplot_summary>`.
100119

101-
Other learning resources
102-
~~~~~~~~~~~~~~~~~~~~~~~~
103-
104-
There are many :doc:`external learning resources <resources/index>` available
105-
including printed material, videos and tutorials.
106-
107120
Join our community!
108121
~~~~~~~~~~~~~~~~~~~
109122

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.