Skip to content

Add one-line descriptions to 19 examples currently missing them #8887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/animation/image_slices_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Image Slices Viewer
===================

This example demonstrates how to scroll through 2D image slices of a 3D array.
"""
from __future__ import print_function

Expand Down
1 change: 1 addition & 0 deletions examples/images_contours_and_fields/contourf_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Contourf Demo
=============

How to use the ``contourf`` function to create filled contour plots.
"""
import numpy as np
import matplotlib.pyplot as plt
Expand Down
2 changes: 1 addition & 1 deletion examples/images_contours_and_fields/contourf_hatching.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Contourf Hatching
=================

Demo filled contour plots with hatched patterns.
"""
import matplotlib.pyplot as plt
import numpy as np
Expand All @@ -29,7 +30,6 @@
)
plt.colorbar()


# ---------------------------------------------
# | Plot #2 |
# ---------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/agg_buffer_to_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Agg Buffer To Array
===================

Convert a rendered figure to its image (NumPy array) representation.
"""
import matplotlib.pyplot as plt
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/axes_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Axes Demo
=========

Example use of ``plt.axes`` to create inset axes within the main plot axes.
"""
import matplotlib.pyplot as plt
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/axhspan_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Axhspan Demo
============

Create lines or rectangles that span the axes in either the horizontal or vertical direction.
"""
import numpy as np
import matplotlib.pyplot as plt
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/axis_equal_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Axis Equal Demo
===============

How to set and adjust plots with equal axis ratios.
"""

import matplotlib.pyplot as plt
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/figure_title.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Figure Title
============

Create a figure with separate subplot titles and a centered figure title.
"""
from matplotlib.font_manager import FontProperties
import matplotlib.pyplot as plt
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/fill_betweenx_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Fill Betweenx Demo
==================

Using ``fill_betweenx`` to color between two horizontal curves.
"""
import matplotlib.mlab as mlab
from matplotlib.pyplot import figure, show
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/log_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Log Demo
========

Examples of plots with logarithmic axes.
"""

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/plotfile_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Plotfile Demo
=============

Example use of ``plotfile`` to plot data directly from a file.
"""
import matplotlib.pyplot as plt
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/polar_legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Polar Legend
============

Demo of a legend on a polar-axis plot.
"""
import numpy as np
from matplotlib.pyplot import figure, show, rc
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/simple_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Simple Plot
===========

Create a simple plot.
"""
import matplotlib.pyplot as plt
import numpy as np
Expand Down
7 changes: 4 additions & 3 deletions examples/pylab_examples/specgram_demo.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"""
=============
Specgram Demo
=============
================
Spectrogram Demo
================

Demo of a spectrogram plot.
"""
import matplotlib.pyplot as plt
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/spine_placement_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Spine Placement Demo
====================

Adjusting the location and appearance of axis spines.
"""
import numpy as np
import matplotlib.pyplot as plt
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/stem_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Stem Plot
=========

Example stem plot.
"""
import matplotlib.pyplot as plt
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/step_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Step Demo
=========

Example step plots.
"""
import numpy as np
from numpy import ma
Expand Down
1 change: 1 addition & 0 deletions examples/pylab_examples/symlog_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Symlog Demo
===========

Example use of symlog (symmetric log) axis scaling.
"""
import matplotlib.pyplot as plt
import numpy as np
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"""
==========
Xcorr Demo
==========
================================
Cross- and Auto-Correlation Demo
================================

Example use of cross-correlation (``xcorr``) and auto-correlation (``acorr``) plots.
"""
import matplotlib.pyplot as plt
import numpy as np
Expand Down
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