Skip to content
Snippets Groups Projects
Unverified Commit d37d5723 authored by Chris Holdgraf's avatar Chris Holdgraf Committed by GitHub
Browse files

Merge pull request #14 from TyBalduf/Seaborn-patch

Replaced sns.tsplot with sns.lineplot
parents b9e32096 bdf023e9
No related branches found
No related tags found
No related merge requests found
%% Cell type:markdown id: tags:
# Welcome to an example Binder
%% Cell type:markdown id: tags:
This notebook uses `seaborn`, which we have because we included it in our `requirements.txt` file
%% Cell type:markdown id: tags:
## Setup our plotting
%% Cell type:code id: tags:
``` python
%matplotlib inline
import matplotlib.pyplot as plt
import seaborn as sns
```
%% Cell type:markdown id: tags:
## Setup our imports
%% Cell type:code id: tags:
``` python
from numpy import random
from scipy.ndimage.filters import gaussian_filter
```
%% Cell type:markdown id: tags:
## Make some plots!
%% Cell type:code id: tags:
``` python
x = random.randn(10,500)
x = gaussian_filter(x, [0, 10])
sns.tsplot(x, err_style='unit_traces');
sns.lineplot(data=x.T,dashes=False,legend=None);
```
%% Output
%% Cell type:code id: tags:
``` python
mat = random.randn(10,20)
sns.heatmap(mat);
```
%% Output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment