Private
Public Access
1
0

MVP version of box charts

This commit is contained in:
Sander Roosendaal
2017-05-14 14:46:59 +02:00
parent 6208110a0a
commit d1fe31a0c8
4 changed files with 29 additions and 2 deletions

View File

@@ -108,6 +108,14 @@ def interactive_boxchart(datadf,fieldname):
months=["%d %B %Y"],
years=["%d %B %Y"],
)
if fieldname == 'pace':
plot.yaxis[0].formatter = DatetimeTickFormatter(
seconds = ["%S"],
minutes = ["%M"]
)
plot.xaxis.major_label_orientation = pi/4
script, div = components(plot)