Skip to content

Commit 63744d5

Browse files
authored
Merge pull request #8887 from tonyyli/ensure-oneliner
DOC: Add one-line descriptions to 19 examples currently missing them
2 parents 9dd0db6 + 0108086 commit 63744d5

19 files changed

+25
-7
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+
How to use 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Contourf Hatching
44
=================
55
6+
Demo filled contour plots with hatched patterns.
67
"""
78
import matplotlib.pyplot as plt
89
import numpy as np
@@ -29,7 +30,6 @@
2930
)
3031
plt.colorbar()
3132

32-
3333
# ---------------------------------------------
3434
# | Plot #2 |
3535
# ---------------------------------------------

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+
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+
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+
Create a figure with separate subplot titles and a centered figure title.
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+
Using ``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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy