Revision: 4245
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4245&view=rev
Author: mdboom
Date: 2007-11-13 08:02:47 -0800 (Tue, 13 Nov 2007)
Log Message:
-----------
Bug fixes.
Modified Paths:
--------------
branches/transforms/lib/matplotlib/axes.py
branches/transforms/src/_backend_agg.cpp
Modified: branches/transforms/lib/matplotlib/axes.py
===================================================================
--- branches/transforms/lib/matplotlib/axes.py 2007-11-13 15:22:55 UTC (rev
4244)
+++ branches/transforms/lib/matplotlib/axes.py 2007-11-13 16:02:47 UTC (rev
4245)
@@ -4504,7 +4504,7 @@
if norm is not None: assert(isinstance(norm, mcolors.Normalize))
if cmap is not None: assert(isinstance(cmap, mcolors.Colormap))
if aspect is None: aspect = rcParams['image.aspect']
- # self.set_aspect(aspect)
+ self.set_aspect(aspect)
if X is None and Y is None:
im = mimage.AxesImage(self, cmap, norm, interpolation, origin,
extent,
Modified: branches/transforms/src/_backend_agg.cpp
===================================================================
--- branches/transforms/src/_backend_agg.cpp 2007-11-13 15:22:55 UTC (rev
4244)
+++ branches/transforms/src/_backend_agg.cpp 2007-11-13 16:02:47 UTC (rev
4245)
@@ -282,7 +282,7 @@
double l, b, r, t;
if (py_convert_bbox(cliprect.ptr(), l, b, r, t)) {
- rasterizer->clip_box((int)l + 1, (int)b + 1, (int)r + 1, (int)t + 1);
+ rasterizer->clip_box((int)l + 1, height - (int)(b + 1), (int)r + 1, height
- (int)(t + 1));
}
_VERBOSE("RendererAgg::set_clipbox done");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins