Skip to content

Commit 66a1047

Browse files
committed
remove bokeh
1 parent 700f84c commit 66a1047

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

tests/test_plots.py

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
import render
22

3-
defined_plots = {'bar-counts': ['pandas', 'plotnine', 'ggplot'],
4-
'dodged-bar-chart': ['pandas', 'plotnine', 'ggplot'],
5-
'scatter-plot': ['pandas', 'plotnine', 'ggplot'],
3+
defined_plots = {'bar-counts': ['pandas', 'plotnine', 'ggplot', ],
4+
'dodged-bar-chart': ['pandas', 'plotnine', 'ggplot', ],
5+
'scatter-plot': ['pandas', 'plotnine', 'ggplot', ],
66
'scatter-plot-with-colors': ['matplotlib',
77
'seaborn',
88
'plotnine',
9-
'ggplot'],
10-
'scatter-plot-with-facet': ['seaborn', 'plotnine', 'ggplot'],
11-
'scatter-plot-with-facets': ['seaborn', 'plotnine', 'ggplot'],
12-
'scatter-plot-with-size': ['pandas', 'plotnine', 'ggplot'],
13-
'scatter-with-regression': ['seaborn', 'plotnine', 'ggplot'],
14-
'simple-histogram': ['pandas', 'matplotlib', 'plotnine', 'ggplot', 'bokeh'],
15-
'stacked-bar-chart': ['pandas', 'plotnine', 'ggplot'],
16-
'stacked-kde': ['pandas', 'seaborn', 'plotnine', 'ggplot'],
17-
'stacked-smooth-line-and-scatter': ['plotnine', 'ggplot'],
18-
'timeseries': ['pandas', 'plotnine', 'ggplot']}
9+
'ggplot',
10+
],
11+
'scatter-plot-with-facet': ['seaborn', 'plotnine', 'ggplot', ],
12+
'scatter-plot-with-facets': ['seaborn', 'plotnine', 'ggplot', ],
13+
'scatter-plot-with-size': ['pandas', 'plotnine', 'ggplot', ],
14+
'scatter-with-regression': ['seaborn', 'plotnine', 'ggplot', ],
15+
'simple-histogram': ['pandas', 'matplotlib', 'plotnine', 'ggplot', ],
16+
'stacked-bar-chart': ['pandas', 'plotnine', 'ggplot', ],
17+
'stacked-kde': ['pandas', 'seaborn', 'plotnine', 'ggplot', ],
18+
'stacked-smooth-line-and-scatter': ['plotnine', 'ggplot', ],
19+
'timeseries': ['pandas', 'plotnine', 'ggplot', ]}
1920

2021

2122
def test_exist():
2223
plots = render.extract_cells("Examples.ipynb")
2324
for name, slug in plots:
24-
names = [d['package-slug'] for d in plots[(name, slug)]]
25+
names = [d['package-slug', ] for d in plots[(name, slug)]]
2526
assert set(names) == set(defined_plots[slug])

0 commit comments

Comments
 (0)