Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bokeh server support #959

Merged
merged 30 commits into from Apr 7, 2017
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ab26f51
Added BokehRenderer server mode
Oct 31, 2016
c1e2550
Added initial bokeh server stream callback handling
Oct 31, 2016
afec80f
Small fixes for bokeh server implementation
Oct 31, 2016
312975e
Added initial BokehServerWidgets implementation
Oct 31, 2016
6f420b3
Fixes for BokehServerWidgets
Oct 31, 2016
3b5d10c
Ensure all subplots have the same plotting classes
Nov 4, 2016
c7cedc2
Defined bokeh widget parameters
Nov 4, 2016
3b43aab
Added bokeh app examples
Feb 3, 2017
7697a2a
Small fix for bokeh widget import
Mar 26, 2017
27ee566
Improved handling of boomeranging events in bokeh backend
Mar 26, 2017
78a2c2a
Improved bokeh server event queue
Mar 26, 2017
c32e2ab
Improved range updates for bokeh server
Mar 26, 2017
3f0dca8
Fixed small bugs in bokeh Callbacks
Mar 26, 2017
9bf0982
Fixed bokeh event callbacks after change to cb_obj
Apr 6, 2017
b099b7e
Implemented UIEvent handling for bokeh server
Apr 6, 2017
dbef691
Moved bokeh server example apps
Apr 6, 2017
2e9ca71
Completely refactored bokeh Callbacks
Apr 6, 2017
d7f5e45
Made callback utilities into classmethods
Apr 6, 2017
6ab8861
Minor cleanup on bokeh Callbacks
Apr 6, 2017
82074b8
Added tests for bokeh Callbacks
Apr 6, 2017
a8a10a5
Small fix for bokeh ServerCallback on_change events
Apr 6, 2017
3342b0a
Allow supplying Document to BokehRenderer
Apr 6, 2017
c65dcbb
Simplified bokeh Callback initialization
Apr 6, 2017
a2fcb0c
Moved bokeh server widget handling onto BokehRenderer
Apr 6, 2017
b0e1f52
Factored out class method to create bokeh widgets
Apr 6, 2017
d9fe1b7
Small fixes and improvements for bokeh widgets
Apr 6, 2017
f0c31c6
Added tests for BokehServerWidgets
Apr 6, 2017
171e9ca
Fixed unreferenced variable bugs
Apr 6, 2017
4e8073a
Various python3 fixes
Apr 7, 2017
957b96b
Improved docstrings for bokeh server features
Apr 7, 2017
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+10 −3
Diff settings

Always

Just for now

Moved bokeh server widget handling onto BokehRenderer

  • Loading branch information...
Philipp Rudiger Philipp Rudiger
Philipp Rudiger authored and Philipp Rudiger committed Apr 6, 2017
commit a2fcb0cd5a7434f22902da2097e2378cb1fe28bd
@@ -80,6 +80,15 @@ def __call__(self, obj, fmt=None, doc=None):
elif fmt == 'json':
return self.diff(plot), info

@bothmethod
def get_widget(self_or_cls, plot, widget_type, **kwargs):
if not isinstance(plot, Plot):
plot = self_or_cls.get_plot(plot)
if self_or_cls.mode == 'server':
return BokehServerWidgets(plot, renderer=self_or_cls.instance(), **kwargs)
else:
return super(BokehRenderer, self).get_widget(plot, widget_type, **kwargs)


def server_doc(self, plot, doc=None):
"""
@@ -299,9 +299,7 @@ def get_widget(self_or_cls, plot, widget_type, **kwargs):
if not isinstance(plot, Plot):
plot = self_or_cls.get_plot(plot)
dynamic = plot.dynamic
if widget_type == 'server':
pass
elif widget_type == 'auto':
if widget_type == 'auto':
isuniform = plot.uniform
if not isuniform:
widget_type = 'scrubber'
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.