Skip to content

Commit a730717

Browse files
author
Michael Zingale
committed
fix the plotting -- we need to access dovis via the Simulation object now
1 parent 4305a16 commit a730717

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plot.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ def makeplot(myd, solverName, outfile):
1313

1414
exec 'import ' + solverName + ' as solver'
1515

16+
sim = solver.Simulation(None, None)
17+
sim.cc_data = myd
18+
1619
pylab.figure(num=1, figsize=(8,4.5), dpi=100, facecolor='w')
1720

18-
solver.dovis(myd, 0)
21+
sim.dovis(0)
1922
pylab.savefig(outfile)
2023
pylab.show()
2124

0 commit comments

Comments
 (0)