added title to box plot
This commit is contained in:
@@ -87,11 +87,11 @@ def tailwind(bearing,vwind,winddir):
|
||||
from rowers.dataprep import nicepaceformat,niceformat
|
||||
from rowers.dataprep import timedeltaconv
|
||||
|
||||
def interactive_boxchart(datadf,fieldname):
|
||||
def interactive_boxchart(datadf,fieldname,extratitle=''):
|
||||
TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,resize'
|
||||
plot = BoxPlot(datadf, values=fieldname, label='date',
|
||||
legend=False,
|
||||
title=axlabels[fieldname],
|
||||
title=axlabels[fieldname]+' '+extratitle,
|
||||
outliers=False,
|
||||
tools=TOOLS,
|
||||
x_mapper_type='datetime')
|
||||
|
||||
Reference in New Issue
Block a user