In [1]:
# NBVAL_IGNORE_OUTPUT
from pymagicc import MAGICC6
from pymagicc import rcp26
import matplotlib.pyplot as plt
plt.style.use("bmh")
Run MAGICC6.
In [2]:
with MAGICC6() as magicc:
results = magicc.run(rcp26)
In [3]:
# NBVAL_IGNORE_OUTPUT
# Note that row ordering may vary
results.head()
Out[3]:
Filter and plot results.
In [4]:
results.filter(
variable="*Concentrations|CO2",
).line_plot(x="time", figsize=(16, 9));
In [5]:
results.filter(
variable="*Temperature*"
).line_plot(x="time", figsize=(16, 9));