Skip to content

Commit 8f34d79

Browse files
committed
- Show only the most standard combination of a partial signature in the
title. - Add a link to the docstring of the respective function. - Minor text cleanups on the gallery page.
1 parent d56e1b4 commit 8f34d79

26 files changed

+109
-68
lines changed

plot_types/README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
Plot types
44
==========
55

6-
This gallery lists many of the plotting commands in Matplotlib,
7-
(but not all of them!).
6+
Overview of many common plotting commands in Matplotlib.
87

98
Note that we have stripped all labels, but they are present by default.
109
See the `gallery <../gallery/index.html>`_ for many more examples and

plot_types/arrays/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
Plots of arrays and fields
44
--------------------------
55

6-
Plotting for arrays of data ``Z(x, y)`` and fields ``U(x, y), V(x, y)``
6+
Plotting for arrays of data ``Z(x, y)`` and fields ``U(x, y), V(x, y)``.

plot_types/arrays/contourf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""
2-
=====================================
3-
contour[f]([X, Y], Z, [levels=], ...)
4-
=====================================
2+
====================================
3+
contour(X, Y, Z) / contourf(X, Y, Z)
4+
====================================
5+
6+
See `~matplotlib.axes.Axes.contour` / `~matplotlib.axes.Axes.contourf`.
57
"""
68
import matplotlib.pyplot as plt
79
import numpy as np

plot_types/arrays/imshow.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""
2-
=======================
3-
imshow(Z, [cmap=], ...)
4-
=======================
2+
=========
3+
imshow(Z)
4+
=========
5+
6+
See `~matplotlib.axes.Axes.imshow`.
57
"""
68

79
import matplotlib.pyplot as plt

plot_types/arrays/pcolormesh.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
===================================
3-
pcolormesh([X, Y], Z, [cmap=], ...)
4-
===================================
2+
===================
3+
pcolormesh(X, Y, Z)
4+
===================
55
66
`~.axes.Axes.pcolormesh` is more flexible than `~.axes.Axes.imshow` in that
77
the x and y vectors need not be equally spaced (indeed they can be skewed).

plot_types/arrays/quiver.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""
2-
=========================
3-
quiver([X, Y], U, V, ...)
4-
=========================
2+
==================
3+
quiver(X, Y, U, V)
4+
==================
5+
6+
See `~matplotlib.axes.Axes.quiver`.
57
"""
68
import matplotlib.pyplot as plt
79
import numpy as np

plot_types/arrays/streamplot.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""
2-
========================
3-
streamplot([X, Y], U, V)
4-
========================
2+
======================
3+
streamplot(X, Y, U, V)
4+
======================
5+
6+
See `~matplotlib.axes.Axes.streamplot`.
57
"""
68
import matplotlib.pyplot as plt
79
import numpy as np

plot_types/basic/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
Basic
44
-----
55

6-
Basic plot types, usually x versus y.
6+
Basic plot types, usually y versus x.

plot_types/basic/bar.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""
2-
======================
3-
bar[h](x, height, ...)
4-
======================
2+
================================
3+
bar(x, height) / barh(x, height)
4+
================================
5+
6+
See `~matplotlib.axes.Axes.bar` / `~matplotlib.axes.Axes.barh`.
57
"""
68
import matplotlib.pyplot as plt
79
import numpy as np

plot_types/basic/pie.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""
2-
====================
3-
pie(X, explode, ...)
4-
====================
2+
======
3+
pie(X)
4+
======
5+
6+
See `~matplotlib.axes.Axes.pie`.
57
"""
68
import matplotlib as mpl
79
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)