Skip to content
Snippets Groups Projects
Unverified Commit bdf023e9 authored by Ty Balduf's avatar Ty Balduf Committed by GitHub
Browse files

Replaced sns.tsplot with sns.lineplot

tsplot has been removed from seaborn as of version 0.10.0. Lineplot is the recommend function to use as its replacement.
parent b9e32096
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