diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 004c25db..ed1d54eb 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -2983,7 +2983,7 @@ def interactive_otwcpchart(powerdf,promember=0,rowername="",r=None,cpfit='data', watermarkh = 35 watermarkanchor = 'bottom_right' plot.extra_y_ranges = {"watermark": watermarkrange} - plot.sizing_mode = 'stretch_both' + plot.sizing_mode = 'scale_both' @@ -3292,7 +3292,8 @@ def interactive_cpchart(rower,thedistances,thesecs,theavpower, watermarkh = 35 watermarkanchor = 'bottom_right' plot.extra_y_ranges = {"watermark": watermarkrange} - plot.sizing_mode = 'stretch_both' + plot.sizing_mode = 'scale_both' + plot.image_url([watermarkurl],1.8*max(thesecs),watermarky, watermarkw,watermarkh, @@ -3479,7 +3480,7 @@ def interactive_windchart(id=0,promember=0): plot.xaxis.axis_label = "Distance (m)" plot.yaxis.axis_label = "Wind Speed (m/s)" plot.y_range = Range1d(-7,7) - plot.sizing_mode = 'stretch_both' + plot.sizing_mode = 'scale_both' plot.extra_y_ranges = {"winddirection": Range1d(start=0,end=360)} @@ -6391,7 +6392,8 @@ def interactive_otw_advanced_pace_chart(id=0,promember=0): watermarkanchor = 'bottom_right' plot.extra_y_ranges = {"watermark": watermarkrange} plot.extra_x_ranges = {"watermark": watermarkrange} - plot.sizing_mode = 'stretch_both' + plot.sizing_mode = 'scale_both' + plot.image_url([watermarkurl],watermarkx,watermarky, watermarkw,watermarkh,