Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fig = figure(title="Vbars", x_range=FactorRange(factors=coi[lab].tolist()))
- fig.y_range.start = 0
- fig.vbar(x="x", width=0.5, legend=False, source=source)
- fig.vbar(x=coi[lab], width=0.5, legend=False, source=source)
- source.data['x'] = coi[lab]
- fig.vbar('x', width=0.5, legend=False, source=source)
- source.data['foo'] = coi[lab]
- fig.vbar('foo', width=0.5, legend=False, source=source)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement