From afce33f80510b5e95ddd15eac20e0a5b345586e5 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Mon, 12 Nov 2018 10:23:27 +0100 Subject: [PATCH] fix legenda placement multiflex --- rowers/interactiveplots.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 2da87b2d..f50d61c5 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -2408,8 +2408,8 @@ def interactive_multiflex(datadf,xparam,yparam,groupby,extratitle='', for nr, gvalue, color in colorlegend: - box = BoxAnnotation(bottom=400+20*nr,left=550,top=420+20*nr, - right=570, + box = BoxAnnotation(bottom=125+20*nr,left=100,top=145+20*nr, + right=120, bottom_units='screen', top_units='screen', left_units='screen', @@ -2417,7 +2417,7 @@ def interactive_multiflex(datadf,xparam,yparam,groupby,extratitle='', fill_color=color, fill_alpha=1.0, line_color=color) - legendlabel = Label(x=571,y=403+20*nr,x_units='screen', + legendlabel = Label(x=121,y=128+20*nr,x_units='screen', y_units='screen', text = "{gvalue:3.0f}".format(gvalue=gvalue), background_fill_alpha=1.0,