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.4.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file bokeh_plot-0.1.4.tar.gz
.
File metadata
- Download URL: bokeh_plot-0.1.4.tar.gz
- Upload date:
- Size: 2.7 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.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcd3937c8b992f8a4f467aac6dec91d624b0cdb57df19bca9055ea8ef54a933f |
|
MD5 | 6f0c73045a8c4f0606c0a5672d78b681 |
|
BLAKE2b-256 | 4d03d2859d3acc9679922042b08dd141124dcafc59ddf54b0843d88590e0acca |
Provenance
File details
Details for the file bokeh_plot-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: bokeh_plot-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.6 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.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 832d4402d0afc56d512e7366f8dc34c7479a6580cda8cf8b0112c43cd847bdee |
|
MD5 | d101702749d2bd7c4c65cd07525e77ed |
|
BLAKE2b-256 | db863d49cfaa4a41f7684965df5698cec2b722542f287c2b47778cf3cd4a224d |