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

Updating Plot for Bokeh 0.11 #35

Open
dwf opened this issue Nov 12, 2015 · 11 comments
Open

Updating Plot for Bokeh 0.11 #35

dwf opened this issue Nov 12, 2015 · 11 comments

Comments

@dwf
Copy link
Contributor

dwf commented Nov 12, 2015

Bokeh's server functionality has been completely rewritten and reimagined (for the better, on the whole). Currently it does not have an "index page" of the sort that we rely upon for plots now. It'd be possible to build one, either into Bokeh or a custom one for Blocks. bokeh/bokeh#3087 contains a discussion I've had with the Bokeh developers about it.

@dmitriy-serdyuk
Copy link
Contributor

We might consider switching to Pastalog.

As far as I understand, it doesn't have so much functionality as Bokeh. For example, it doesn't seem to be able to plot images.

@dwf
Copy link
Contributor Author

dwf commented Jun 9, 2016

It's also a gigantic pain the ass to install so far...

@dmitriy-serdyuk
Copy link
Contributor

It was very straightforward for me: conda is a magical tool, it has anything I needed.

@dmitriy-serdyuk
Copy link
Contributor

Do you mean that it's painful to install node.js? Pretty much the same amount of effort is needed to install Bokeh.

@dwf
Copy link
Contributor Author

dwf commented Jun 9, 2016

Their PyPI package is "legacy Python" only, so I'm trying directly from GitHub. It seemed that conda did not have a recent enough nodejs (they demand >= 5, conda only has 4.4.x). And as far as I can tell, their build instructions from source are wrong, wrong, wrong.

@dmitriy-serdyuk
Copy link
Contributor

Another disadvantage comparing to Bokeh is that it dumps everything on the same chart. I'd like to see cost/error rate/gradient norms at the same time on different plots since it can have very different scale.

But it's very straightforward to compare different models.

@dwf
Copy link
Contributor Author

dwf commented Jun 9, 2016

Have you actually used it successfully? It just says "waiting for data" to
me, despite me sending "post" requests to it.

On Thu, Jun 9, 2016 at 5:33 PM, dmitriy-serdyuk notifications@github.com
wrote:

Another disadvantage comparing to Bokeh is that it dumps everything on the
same chart. I'd like to see cost/error rate/gradient norms at the same time
on different plots since it can have very different scale.

But it's very straightforward to compare different models.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#35 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AADrLuqDiNbUw_M0I8urhMIZBlL0PGPoks5qKIbFgaJpZM4GhW6v
.

@dmitriy-serdyuk
Copy link
Contributor

I was able to install it at the lab machines and having the same issues as you on my mac.

It looks pretty cool, take a look at eos4:5008 .

@dmitriy-serdyuk
Copy link
Contributor

One more point: it's impossible to clear the plot from python :(

@dmitriy-serdyuk
Copy link
Contributor

Somehow, build fails when I try to compile the npm package in Python3 environment, but it works in Python2. After I start a server, it is accessible from both versions of python.

@dmitriy-serdyuk
Copy link
Contributor

I wrote a proof of concept script which runs a flask application inside tornado used by bokeh server. Please take a look: https://gist.github.com/dmitriy-serdyuk/bd6cfcc49b5bce0bf2975d93d085053a

Flask writes data points into a tinydb database when requested. Bokeh reads the same database every 2 seconds and updates a plot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants