Revision: 5604
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5604&view=rev
Author: efiring
Date: 2008-06-19 21:53:28 -0700 (Thu, 19 Jun 2008)
Log Message:
-----------
Don't try to render a line collection with no segments
Modified Paths:
--------------
branches/v0_91_maint/lib/matplotlib/collections.py
Modified: branches/v0_91_maint/lib/matplotlib/collections.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/collections.py 2008-06-20 04:51:47 UTC
(rev 5603)
+++ branches/v0_91_maint/lib/matplotlib/collections.py 2008-06-20 04:53:28 UTC
(rev 5604)
@@ -760,6 +760,8 @@
transoffset.freeze()
segments = self._segments
+ if not segments:
+ return
offsets = self._offsets
if self.have_units():
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins