8000 Add one-line descriptions to 19 examples currently missing them · Modago/matplotlib@31168cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 31168cb

Browse files
committed
Add one-line descriptions to 19 examples currently missing them
1 parent 9dd0db6 commit 31168cb

19 files changed

+20
-0
lines changed

examples/animation/image_slices_viewer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Image Slices Viewer
44
===================
55
6+
This example demonstrates how to scroll through 2D image slices of a 3D array.
67
"""
78
from __future__ import print_function
89

examples/images_contours_and_fields/contourf_demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Contourf Demo
44
=============
55
6+
Example use of the `contourf` function to create filled contour plots.
67
"""
78
import numpy as np
89
import matplotlib.pyplot as plt

examples/images_contours_and_fields/contourf_hatching.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Contourf Hatching
44
=================
55
6+
Demo of filled contour plots with of hatched patterns.
67
"""
78
import matplotlib.pyplot as plt
89
import numpy as np
@@ -29,6 +30,7 @@
2930
)
3031
plt.colorbar()
3132

33+
###############################################################################
3234

3335
# ---------------------------------------------
3436
# | Plot #2 |

examples/pylab_examples/agg_buffer_to_array.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Agg Buffer To Array
44
===================
55
6+
Convert a rendered figure to its image (NumPy array) representation.
67
"""
78
import matplotlib.pyplot as plt
89
import numpy as np

examples/pylab_examples/axes_demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Axes Demo
44
=========
55
6+
Example use of `plt.axes` to create inset axes within the main plot axes.
67
"""
78
import matplotlib.pyplot as plt
89
import numpy as np

examples/pylab_examples/axhspan_demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Axhspan Demo
44
============
55
6+
The example shows how to create lines or rectangles that span the axes in either the horizontal or vertical direction.
67
"""
78
import numpy as np
89
import matplotlib.pyplot as plt

examples/pylab_examples/axis_equal_demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Axis Equal Demo
44
===============
55
6+
This example how to set and adjust plots with equal axis ratios.
67
"""
78

89
import matplotlib.pyplot as plt

examples/pylab_examples/figure_title.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Figure Title
44
============
55
6+
Example use of `title` and `suptitle` to create subplot titles and a centered figure title, respectively.
67
"""
78
from matplotlib.font_manager import FontProperties
89
import matplotlib.pyplot as plt

examples/pylab_examples/fill_betweenx_demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Fill Betweenx Demo
44
==================
55
6+
This example shows how to use `fill_betweenx` to color between two horizontal curves.
67
"""
78
import matplotlib.mlab as mlab
89
from matplotlib.pyplot import figure, show

examples/pylab_examples/log_demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Log Demo
44
========
55
6+
Examples of plots with logarithmic axes.
67
"""
78

89
import numpy as np

0 commit comments

Comments
 (0)
0