In [2]:
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
import mockgallib as mock
mock.cosmology.set(0.31)
mock.growth_D(1.0)
Out[2]:
In [3]:
a = np.arange(0.0, 1.0, 0.01)
growth = [mock.growth_D(aa) for aa in a]
plt.plot(a, growth, 'r-')
plt.xlabel('scale factor $a$')
plt.ylabel('$D$')
plt.show();
In [4]:
%%html
<style>table {float:left}</style>