Skip to content

Commit

Permalink
Include contourf examples in documentation
Browse files Browse the repository at this point in the history
svn path=/trunk/matplotlib/; revision=8063
  • Loading branch information
efiring committed Jan 2, 2010
1 parent 65c69a3 commit 5e12fa5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/matplotlib/contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,9 +987,8 @@ def set_alpha(self, alpha):
signatures and return values are the same for both versions.
:func:`~matplotlib.pyplot.contourf` differs from the Matlab
(TM) version in that it does not draw the polygon edges,
because the contouring engine yields simply connected regions
with branch cuts. To draw the edges, add line contours with
(TM) version in that it does not draw the polygon edges.
To draw edges, add line contours with
calls to :func:`~matplotlib.pyplot.contour`.
Expand Down Expand Up @@ -1142,9 +1141,11 @@ def set_alpha(self, alpha):
be removed. Chunking introduces artifacts at the chunk boundaries
unless *antialiased* is *False*.
**Example:**
**Examples:**
.. plot:: mpl_examples/pylab_examples/contour_demo.py
.. plot:: mpl_examples/pylab_examples/contourf_demo.py
"""

def find_nearest_contour( self, x, y, indices=None, pixel=True ):
Expand Down

0 comments on commit 5e12fa5

Please sign in to comment.