Fix MGXS part IV notebook

This commit is contained in:
Paul Romano 2017-03-02 13:44:29 -06:00
parent 5e9b06a861
commit 659a972cd2
2 changed files with 103 additions and 68 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,5 @@
import warnings
from openmc.arithmetic import *
from openmc.cell import *
from openmc.mesh import *
@ -28,6 +30,9 @@ from openmc.mixin import *
from openmc.plotter import *
try:
from openmc.openmoc_compatible import *
# Ignore matplotlib warning caused by OpenMOC calling matplotlib.use()
with warnings.catch_warnings():
warnings.simplefilter("ignore")
from openmc.openmoc_compatible import *
except ImportError:
pass