A few small fixes in example notebooks

This commit is contained in:
Paul Romano 2017-05-10 13:04:02 -05:00
parent fa32b036fc
commit 3b0c044974
6 changed files with 4 additions and 4 deletions

View file

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Before After
Before After

View file

@ -414,7 +414,7 @@
}
],
"source": [
"root_universe.plot(center=(0., 0., 0.), width=(3 * 21.42, 3 * 21.42), pixels=(500, 500),\n",
"root_universe.plot(origin=(0., 0., 0.), width=(3 * 21.42, 3 * 21.42), pixels=(500, 500),\n",
" color_by='material')"
]
},

View file

@ -306,7 +306,7 @@
}
],
"source": [
"root_universe.plot(center=(0., 0., 0.), width=(21.42, 21.42), pixels=(500, 500), color_by='material')"
"root_universe.plot(origin=(0., 0., 0.), width=(21.42, 21.42), pixels=(500, 500), color_by='material')"
]
},
{

View file

@ -412,7 +412,7 @@
}
],
"source": [
"universes['Root'].plot(center=(length / 2., length / 2., 0.),\n",
"universes['Root'].plot(origin=(length / 2., length / 2., 0.),\n",
" pixels=(500, 500), width=(length, length),\n",
" color_by='material',\n",
" colors={materials['Fuel']: (1., 0., 0.),\n",
@ -1053,7 +1053,7 @@
}
],
"source": [
"geometry_file.root_universe.plot(center=(length / 2., length / 2., 0.),\n",
"geometry_file.root_universe.plot(origin=(length / 2., length / 2., 0.),\n",
" pixels=(300, 300), width=(length, length),\n",
" color_by='material')"
]