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.6.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file bokeh_plot-0.1.6.tar.gz
.
File metadata
- Download URL: bokeh_plot-0.1.6.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3958e739a21fd4481c06439a8bc9f29124cbd7605c5e3acface5162097509f6 |
|
MD5 | 4d1440b339f381f20b49c9e54c8d28b9 |
|
BLAKE2b-256 | d3daee821bbdea6a56d4c2a66e8616de8dce9f8cd31c3fcc7f406d8c4cb030fd |
Provenance
File details
Details for the file bokeh_plot-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: bokeh_plot-0.1.6-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbc7f301b629e8ce558c613c4e64abee1db5cb88fdf8a4adca2e9d4ea7975fe2 |
|
MD5 | 255eb2e58d22fb20f25e7c5261c35da6 |
|
BLAKE2b-256 | a7179800fe7440b7185f6e5795ce5c277854f53ed1782cc5404979fd6165dd24 |