1.2.0 (May 2019) is a point release that adds some interesting new features:
And several other bug fixes and docs additions. For full details see the
The Google Groups mailing list has been retired. In it's place, there is now a Discourse site for community discussions. All of the old content from the mailing list has been imported into the Discourse, and is searchable.
Sliders add a
value_throttled property that is updated (and triggers JS and Python callbacks) only according to the
= "mouseup" slider.callback_policy # both of these will respect the callback policy now 'value_throttled', ...) slider.js_on_change('value_throttled', ...)slider.on_change(
The callbacks above will only execute when the user releases the mouse after adjusting a slider.
Note that the value property can also still be used to trigger callbacks —they will execute unconditionally on every movement.
The old-style callback property still works for JS callbacks, but will be removed in Bokeh 2.0 in the near future. The general js_on_change and on_change mothods should be used going forward.
harea methods add support for single directed areas (filled regions between two series that share a common index). Also added:
for stacking directed areas, and
for stacking lines.
= ['y0', 'y1', 'y2', 'y3', 'y4', 'y5', 'y6'] colnames ='index', color=colors, source=df, p.varea_stack(colnames, x=[value(x) for x in colnames]) legend ='index', color="black", source=df)p.vline_stack(colnames, x
Legends now support displaying a title: