Bokeh-Server: Coba pakai curdoc
Sumber: http://bokeh.pydata.org/en/0.11.0/docs/user_guide/server.html coba.py import numpy as np from numpy import pi from bokeh.client import push_session from bokeh.driving import cosine from bokeh.plotting import figure, curdoc x = np.linspace(0, 4*pi, 80) y = np.sin(x) p = figure() r1 = p.line([0, 4*pi], [-1, 1], color="firebrick") r2 = p.line(x, y, color="navy", line_width=4) # open a
| Penerbit | Taratsa |
|---|---|
| Tahun | 2016-02-23 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:868b40d3-0b42-5807-9228-3e3cacb61028 |
Tentang teks
309 kata · sekitar 2 menit baca · lebih panjang dari 31% buku di pustaka ini
Paling sering muncul
- session17
- bokeh12
- push11
- server11
- document7
- curdoc6
- file5
- import5
- coba4
- command4
- connect4
- failed4
Khas buku ini
Sering di buku ini, jarang di buku lain.
- bokeh12
- session17
- curdoc6
- push11
- ioerror3
- site-packages3
- document7
- server11
- anaconda3
- serve4
- import5
- failed4
Frasa yang berulang
- push session
- start the server
- server to start
- failed to connect
- bokeh serve command
- root anaconda lib
- python site-packages bokeh
- lib python site-packages