dot size multiflex
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user