Private
Public Access
1
0

ranges for multiflex

This commit is contained in:
Sander Roosendaal
2017-07-11 21:57:04 +02:00
parent c1cb73232b
commit f2dbaf358d
2 changed files with 31 additions and 6 deletions

View File

@@ -1314,7 +1314,7 @@ def interactive_multiflex(datadf,xparam,yparam,groupby,extratitle='',
for nr, gvalue, color in colorlegend:
box = BoxAnnotation(bottom=500-20*nr,left=550,top=520-20*nr,
box = BoxAnnotation(bottom=400+20*nr,left=550,top=420+20*nr,
right=570,
bottom_units='screen',
top_units='screen',
@@ -1323,7 +1323,7 @@ def interactive_multiflex(datadf,xparam,yparam,groupby,extratitle='',
fill_color=color,
fill_alpha=1.0,
line_color=color)
legendlabel = Label(x=571,y=503-20*nr,x_units='screen',
legendlabel = Label(x=571,y=403+20*nr,x_units='screen',
y_units='screen',
text = "{gvalue:3.0f}".format(gvalue=gvalue),
background_fill_alpha=1.0,