Revision: 4282
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4282&view=rev
Author:   mdboom
Date:     2007-11-14 10:36:45 -0800 (Wed, 14 Nov 2007)

Log Message:
-----------
Fix bug in PDF backend.

Modified Paths:
--------------
    branches/transforms/lib/matplotlib/backends/backend_pdf.py

Modified: branches/transforms/lib/matplotlib/backends/backend_pdf.py
===================================================================
--- branches/transforms/lib/matplotlib/backends/backend_pdf.py  2007-11-14 
18:31:35 UTC (rev 4281)
+++ branches/transforms/lib/matplotlib/backends/backend_pdf.py  2007-11-14 
18:36:45 UTC (rev 4282)
@@ -1758,6 +1758,8 @@
                 try:
                     different = bool(ours != theirs)
                 except ValueError:
+                    ours = npy.asarray(ours)
+                    theirs = npy.asarray(theirs)
                     different = ours.shape != theirs.shape or npy.any(ours != 
theirs)
                 if different:
                     break


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

Reply via email to