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 b58c36e

Browse filesBrowse files
committed
Reorganize intro section on main page
1 parent 569e12e commit b58c36e
Copy full SHA for b58c36e

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+71
-17
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-17Lines changed: 36 additions & 17 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: 2D visualization in 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+
- Easy creation of standard plots
44+
- Publication quality output to common file formats
45+
(png, pdf, svg, ps, ...)
46+
- Interactive figures (zoom, pan, ...)
47+
48+
.. container:: bullet-box
49+
50+
Customize
51+
52+
- Adapt and tune all aspects a graphic
53+
- Embed in interactive environments (e.g. IPython_, Jupyter_)
54+
- Create graphics that respond to user GUI events
55+
56+
.. _IPython: http://ipython.org
57+
.. _Jupyter: http://jupyter.org
58+
59+
.. container:: bullet-box
60+
61+
Extend
62+
63+
- Use additional tailored functionality through
64+
:doc:`third party packages <thirdpartypackages/index>`
65+
- Embed in GUI applications (Qt, Tk, Gtk3, Wx)
66+
- Serve from web servers
4867

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

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

0 commit comments

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