Matlab-inspired call syntax for bokeh plots
Project description
bokeh-plot
Installation:
pip install bokeh-plot
Usage:
To load this extension in jupyter notebook:
%load_ext bokeh_plot
The following syntax is supported:
plot([1,4,9]) # x is automatic
plot([1,4,9], '.-') # line and dots
plot([1,2,3], [1,4,9]) # x and y
plot([1,2,3], [1,4,9], '.-') # x, y and line style
plot([1,2,3], [1,4,9], '.-', [1,2,3], [1,8,27], '.-g') # two plots, the second one is green
The following markers are supported so far:
'.' dots
'-' line
'.-' dots+line
The following colors are supported so far:
'b' blue
'g' green
'r' red
'o' orange
NB The color specifier must go after the marker if both are present.
Advanced usage
semilogx()
, semilogy()
and loglog()
show (semi)logarithmic plots with the same syntax as plot()
.
plot(x, y, hover=True)
displays point coordinates on mouse hover.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bokeh_plot-0.1.2.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for bokeh_plot-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d214e7f8de9133b184ca4a9400ac9377fbd1d5e3b2c5892b88af7daa9e1f4acd |
|
MD5 | be6e0e52b8032dc15828fdd08ea8ef66 |
|
BLAKE2b-256 | 6243e93910bc57c7d10f9f1045260484126d14dd8c66ad9b718e0dfe63238f0a |