So as a simple test of my new blog I decided to recreate a plot of historical Texas lake storage from waterdatafortexas. The original plot can be seen below:
In [1]:
%pylab inline
from IPython.display import Image
import pandas as pd
#plt.xkcd()
In [2]:
Image('http://waterdatafortexas.org/reservoirs/statewide/historical-storage.png')
Out[2]:
In [3]:
data = pd.read_csv('http://waterdatafortexas.org/reservoirs/statewide.csv', skiprows=29, index_col='date', parse_dates=True)
In [4]:
data['conservation_storage'].plot()
Out[4]:
In [5]:
plt.xkcd()
Out[5]:
In [6]:
data['conservation_storage'].plot()
Out[6]:
In []: