Revision: 7435
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7435&view=rev
Author: leejjoon
Date: 2009-08-08 21:11:18 +0000 (Sat, 08 Aug 2009)
Log Message:
-----------
fix example demo_ribbon_box.py
Modified Paths:
--------------
trunk/matplotlib/examples/pylab_examples/demo_ribbon_box.py
Modified: trunk/matplotlib/examples/pylab_examples/demo_ribbon_box.py
===================================================================
--- trunk/matplotlib/examples/pylab_examples/demo_ribbon_box.py 2009-08-08
18:24:52 UTC (rev 7434)
+++ trunk/matplotlib/examples/pylab_examples/demo_ribbon_box.py 2009-08-08
21:11:18 UTC (rev 7435)
@@ -64,13 +64,13 @@
):
BboxImage.__init__(self, bbox,
- cmap = None,
- norm = None,
- interpolation=None,
- origin=None,
- filternorm=1,
- filterrad=4.0,
- resample = False,
+ cmap = cmap,
+ norm = norm,
+ interpolation=interpolation,
+ origin=origin,
+ filternorm=filternorm,
+ filterrad=filterrad,
+ resample = resample,
**kwargs
)
@@ -115,7 +115,7 @@
for year, h, bc in zip(years, heights, box_colors):
bbox0 = Bbox.from_extents(year-0.4, 0., year+0.4, h)
bbox = TransformedBbox(bbox0, ax.transData)
- rb_patch = RibbonBoxImage(bbox, bc)
+ rb_patch = RibbonBoxImage(bbox, bc, interpolation="bicubic")
ax.add_artist(rb_patch)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins