I don’t see why that shouldn’t be possible, but let me try to get one of the other devs that worked on the embedding code to chime in soon as well.
I’ve successfully done something like this:
f = open(“C:\Program Files (x86)\EasyPHP-18.104.22.168\www\live\index.html”,“w”)
html = “”"
f.write(html % renderer._build_server_snippet())
hackish, but writes the embed code in the HTML test page. BUT, the snippet is different from the one given by the button:
Any ideas ?
Another thing to mention: we definitely would like to have other “bindings” for bokehjs besides just python in the future, though such work will probably have to be driven by other interested parties. If you’d ever like to work on a plotting interface that works directly from PHP, without needing python, let us know and we can provide assistance or information.
OK, Thanks. But from the point of view we have now, we will most probably develop on Flask directly in Py, I’ll let you know
Lastly we also want to grow our example gallery so if you develop any particularly interesting examples that you are also able and willing to share, please pass them on and we will see about including them on the bokeh.pydata.org gallery.
Sure, the example I’m working on will maybe integrate too many informations (seismic waveforms etc), but this will be, at least, an tutorial on my blog and made available via github + for the example gallery !
Le vendredi 8 novembre 2013 08:21:21 UTC+1, Bryan Van de ven a écrit :
On Nov 8, 2013, at 1:09 AM, Thomas Lecocq [email protected] wrote:
That’s working smoothly ! I wish I could embed the plot without the actual “embed” button !
Something in the same vein: would it be possible to have the script generate the embed code directly, in order to save it somewhere and have a dynamic import on my php page ?
so I could, e.g.:
python plotstuff1.py > embedsnippet1.php
python plotstuff2.py > embedsnippet2.php
and my php will include embedsnipper1 & 2 at different places in the code ?
Le jeudi 7 novembre 2013 16:05:52 UTC+1, Thomas Lecocq a écrit :
My redis-server and bokeh-server are running. I want to have a page, say, http://localhost:5006/thomas/page1.html that will have some information I pre-typed (header, introduction to some data, etc…) and a plot, that optionally would be updated/animated… How to ?
You received this message because you are subscribed to the Google Groups “Bokeh Discussion” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0506f5b4-2031-47ea-80d5-57cb55b51e20%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.