diff --git a/README.md b/README.md index 1fa3450..d9b7b69 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,12 @@ To set up an enviroment for this tutorial use - $ conda create -n mpl-tutorial -c conda-forge -c conda-forge/label/rc 'matplotlib>1.6' pandas pytables ipython python=3 + $ conda env create -f environment.yml + +or + + $ conda create -n mpl_tutorial -c anaconda matplotlib pandas pytables h5py ipython scipy python=3.6 + for *nix diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..b0c3f3a --- /dev/null +++ b/environment.yml @@ -0,0 +1,12 @@ +name: mpl-tutorial +channels: +- anaconda +- defaults +dependencies: +- h5py +- ipython +- matplotlib +- pandas +- pytables +- scipy +- python=3.6 diff --git a/weather/key/04-custom_plotting.py b/weather/key/04-custom_plotting.py index b19ce56..d10ed97 100644 --- a/weather/key/04-custom_plotting.py +++ b/weather/key/04-custom_plotting.py @@ -1,5 +1,5 @@ import matplotlib.pyplot as plt -from pddc_helpers import load_bwi_data, aggregate_by_month +from w_helpers import load_bwi_data, aggregate_by_month plt.ion() bwi = load_bwi_data()