|
From: <md...@us...> - 2009-11-24 18:09:04
|
Revision: 7983
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7983&view=rev
Author: mdboom
Date: 2009-11-24 18:08:51 +0000 (Tue, 24 Nov 2009)
Log Message:
-----------
[2902715] artist.set_clip_path does not handle tuple
Modified Paths:
--------------
branches/v0_99_maint/lib/matplotlib/artist.py
Modified: branches/v0_99_maint/lib/matplotlib/artist.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/artist.py 2009-11-23 21:18:06 UTC (rev 7982)
+++ branches/v0_99_maint/lib/matplotlib/artist.py 2009-11-24 18:08:51 UTC (rev 7983)
@@ -477,6 +477,8 @@
path.get_path(),
path.get_transform())
success = True
+ elif isinstance(path, tuple):
+ path, transform = path
if path is None:
self._clippath = None
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|