[Yt-svn] yt: Fixing import issue, removing usage of "backend"
hg at spacepope.org
hg at spacepope.org
Thu Oct 21 12:56:10 PDT 2010
hg Repository: yt
details: yt/rev/76ed5c3f466c
changeset: 3456:76ed5c3f466c
user: Matthew Turk <matthewturk at gmail.com>
date:
Thu Oct 21 12:55:58 2010 -0700
description:
Fixing import issue, removing usage of "backend"
diffstat:
yt/visualization/plot_collection.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 74ae175dd525 -r 76ed5c3f466c yt/visualization/plot_collection.py
--- a/yt/visualization/plot_collection.py Thu Oct 21 09:31:23 2010 -0700
+++ b/yt/visualization/plot_collection.py Thu Oct 21 12:55:58 2010 -0700
@@ -1669,7 +1669,8 @@
fudge_x = 1.0
fudge_y = ny/(0.40+ny)
fig = figure.Figure((bw*nx/fudge_x, bw*ny/fudge_y), dpi=dpi)
- fig.set_canvas(be.engineVals["canvas"](fig))
+ from _mpl_imports import FigureCanvasAgg
+ fig.set_canvas(FigureCanvasAgg(fig))
fig.subplots_adjust(wspace=0.0, hspace=0.0,
top=1.0, bottom=0.0,
left=0.0, right=1.0)
More information about the yt-svn
mailing list