Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
example-requirements
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adrian Brömmelsiek
example-requirements
Commits
d37d5723
Unverified
Commit
d37d5723
authored
4 years ago
by
Chris Holdgraf
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #14 from TyBalduf/Seaborn-patch
Replaced sns.tsplot with sns.lineplot
parents
b9e32096
bdf023e9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
index.ipynb
+1
-1
1 addition, 1 deletion
index.ipynb
with
1 addition
and
1 deletion
index.ipynb
+
1
−
1
View file @
d37d5723
...
...
@@ -1491,7 +1491,7 @@
"source": [
"x = random.randn(10,500)\n",
"x = gaussian_filter(x, [0, 10])\n",
"sns.
ts
plot(
x, err_style='unit_traces'
);"
"sns.
line
plot(
data=x.T,dashes=False,legend=None
);"
]
},
{
...
...
%% 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
.
ts
plot
(
x
,
err_style
=
'
unit_traces
'
);
sns
.
line
plot
(
data
=
x
.
T
,
dashes
=
False
,
legend
=
None
);
```
%% Output
%% Cell type:code id: tags:
```
python
mat
=
random
.
randn
(
10
,
20
)
sns
.
heatmap
(
mat
);
```
%% Output
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment