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.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for bokeh_plot-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 318c15566672e4ac271b3653fce9b4db4a9e8f196123fd86081710f3367a3c73 |
|
MD5 | 33d08f1f491af6ea92e5fa4eb96b7cd5 |
|
BLAKE2b-256 | 0c0b781b4dd2b88581a0efd2e88d5a87cc54d71d5cb10997f7af30a4d4b7723e |