[Yt-svn] yt-commit r777 - trunk/yt/raven
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Mon Sep 15 15:21:21 PDT 2008
Author: mturk
Date: Mon Sep 15 15:21:21 2008
New Revision: 777
URL: http://yt.spacepope.org/changeset/777
Log:
Hm, according to the *latest* mailing list mesage, this might be backend
dependent. So it's attributeerror'd out.
Modified:
trunk/yt/raven/PlotCollection.py
Modified: trunk/yt/raven/PlotCollection.py
==============================================================================
--- trunk/yt/raven/PlotCollection.py (original)
+++ trunk/yt/raven/PlotCollection.py Mon Sep 15 15:21:21 2008
@@ -345,7 +345,10 @@
# Let's assume that axes and figure are not in the positional
# arguments -- probably safe!
new_fig = self.pylab.figure()
- new_fig.canvas.set_window_title("%s" % (self.pf))
+ try:
+ new_fig.canvas.set_window_title("%s" % (self.pf))
+ except AttributeError:
+ pass
kwargs['axes'] = self.pylab.gca()
kwargs['figure'] = self.pylab.gcf()
retval = func(self, *args, **kwargs)
More information about the yt-svn
mailing list