diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index a17c74f0..22dfac72 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -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') diff --git a/rowers/templates/boxplot.html b/rowers/templates/boxplot.html index ce250dd2..45b14144 100644 --- a/rowers/templates/boxplot.html +++ b/rowers/templates/boxplot.html @@ -38,7 +38,7 @@