Spaces:
Runtime error
Runtime error
update plot_height param
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def display_df():
|
|
69 |
|
70 |
def bokehplots():
|
71 |
# set up figure
|
72 |
-
p = figure(x_range=FactorRange(*authors),
|
73 |
p.vbar(x=dodge('authors',-0.2, range=p.x_range), top='downloads', width=0.4, source=source,
|
74 |
color=Category20[3][0], legend_label='Downloads')
|
75 |
p.vbar(x=dodge('authors',0.2, range=p.x_range), top='likes', width=0.4, source=source,
|
|
|
69 |
|
70 |
def bokehplots():
|
71 |
# set up figure
|
72 |
+
p = figure(x_range=FactorRange(*authors), height=350, plot_width=600, title='Downloads and Likes by Author')
|
73 |
p.vbar(x=dodge('authors',-0.2, range=p.x_range), top='downloads', width=0.4, source=source,
|
74 |
color=Category20[3][0], legend_label='Downloads')
|
75 |
p.vbar(x=dodge('authors',0.2, range=p.x_range), top='likes', width=0.4, source=source,
|