SourceForge logo
SourceForge logo
Menu

matplotlib-checkins

From: <md...@us...> - 2010年11月17日 15:31:33
Revision: 8805
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8805&view=rev
Author: mdboom
Date: 2010年11月17日 15:31:27 +0000 (2010年11月17日)
Log Message:
-----------
Improve exception error message when converting Python bounding box to C++
Modified Paths:
--------------
 trunk/matplotlib/src/agg_py_transforms.cpp
Modified: trunk/matplotlib/src/agg_py_transforms.cpp
===================================================================
--- trunk/matplotlib/src/agg_py_transforms.cpp	2010年11月17日 04:37:27 UTC (rev 8804)
+++ trunk/matplotlib/src/agg_py_transforms.cpp	2010年11月17日 15:31:27 UTC (rev 8805)
@@ -77,7 +77,7 @@
 if (!bbox || PyArray_NDIM(bbox) != 2 || PyArray_DIM(bbox, 0) != 2 || PyArray_DIM(bbox, 1) != 2)
 {
 throw Py::TypeError
- ("Argument 3 to agg_to_gtk_drawable must be a Bbox object.");
+ ("Expected a bbox array");
 }
 
 l = *(double*)PyArray_GETPTR2(bbox, 0, 0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /