Skip to content

Commit 3b0c044

Browse files
committed
A few small fixes in example notebooks
1 parent fa32b03 commit 3b0c044

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed
Binary file not shown.
File renamed without changes.
File renamed without changes.

examples/jupyter/mg-mode-part-i.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@
414414
}
415415
],
416416
"source": [
417-
"root_universe.plot(center=(0., 0., 0.), width=(3 * 21.42, 3 * 21.42), pixels=(500, 500),\n",
417+
"root_universe.plot(origin=(0., 0., 0.), width=(3 * 21.42, 3 * 21.42), pixels=(500, 500),\n",
418418
" color_by='material')"
419419
]
420420
},

examples/jupyter/mg-mode-part-ii.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
}
307307
],
308308
"source": [
309-
"root_universe.plot(center=(0., 0., 0.), width=(21.42, 21.42), pixels=(500, 500), color_by='material')"
309+
"root_universe.plot(origin=(0., 0., 0.), width=(21.42, 21.42), pixels=(500, 500), color_by='material')"
310310
]
311311
},
312312
{

examples/jupyter/mg-mode-part-iii.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@
412412
}
413413
],
414414
"source": [
415-
"universes['Root'].plot(center=(length / 2., length / 2., 0.),\n",
415+
"universes['Root'].plot(origin=(length / 2., length / 2., 0.),\n",
416416
" pixels=(500, 500), width=(length, length),\n",
417417
" color_by='material',\n",
418418
" colors={materials['Fuel']: (1., 0., 0.),\n",
@@ -1053,7 +1053,7 @@
10531053
}
10541054
],
10551055
"source": [
1056-
"geometry_file.root_universe.plot(center=(length / 2., length / 2., 0.),\n",
1056+
"geometry_file.root_universe.plot(origin=(length / 2., length / 2., 0.),\n",
10571057
" pixels=(300, 300), width=(length, length),\n",
10581058
" color_by='material')"
10591059
]

0 commit comments

Comments
 (0)