Private
Public Access
1
0

dot size multiflex

This commit is contained in:
Sander Roosendaal
2017-07-08 16:05:13 +02:00
parent e1f9dbaeb0
commit e7e97dfef3
2 changed files with 102 additions and 190 deletions

View File

@@ -73,14 +73,15 @@ def errorbar(fig, x, y, source=ColumnDataSource(),
xerr=False, yerr=False, color='red',
point_kwargs={}, error_kwargs={}):
fig.circle(x, y, source=source, name='data',color=color, **point_kwargs)
fig.circle(x, y, source=source, name='data',color=color,
**point_kwargs)
xvalues = source.data[x]
yvalues = source.data[y]
xerrvalues = source.data['xerror']
yerrvalues = source.data['yerror']
try:
a = xvalues[0]+1
@@ -1182,6 +1183,8 @@ def interactive_multiflex(datadf,xparam,yparam,groupby,extratitle='',
if groupby == 'workoutid':
groupname = 'Workout'
elif groupby == 'date':
groupname = 'Date'
else:
groupname = axlabels[groupby]
@@ -1264,7 +1267,7 @@ def interactive_multiflex(datadf,xparam,yparam,groupby,extratitle='',
point_kwargs={
'line_color':None,
'legend':yparamname,
'size':10,
'size':"groupsize",
})
if xparam == 'workoutid':
@@ -1301,7 +1304,7 @@ def interactive_multiflex(datadf,xparam,yparam,groupby,extratitle='',
else:
hover.tooltips = OrderedDict([
(groupby,'@groupval'),
])
])
hover.mode = 'mouse'