Allow color names, rename Plot attributes, add openmc.plot_inline()

This commit is contained in:
Paul Romano 2017-03-08 11:30:22 -06:00
parent 24cd12cf3a
commit 3913d55e2c
28 changed files with 219 additions and 190 deletions

View file

@ -118,7 +118,7 @@ plot = openmc.Plot(plot_id=1)
plot.origin = [0, 0, 0]
plot.width = [20, 20]
plot.pixels = [200, 200]
plot.color = 'cell'
plot.color_by = 'cell'
# Instantiate a Plots collection and export to XML
plot_file = openmc.Plots([plot])