Skip to main content

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


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 details)

Uploaded Source

Built Distribution

bokeh_plot-0.1.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file bokeh_plot-0.1.2.tar.gz.

File metadata

  • Download URL: bokeh_plot-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 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

Hashes for bokeh_plot-0.1.2.tar.gz
Algorithm Hash digest
SHA256 907c4d79b00f70b552e91526255be94cf05d8219f5834b0dd8bb3475c49824fa
MD5 bdff56a3cf5cabccfb39b50c17f6f93e
BLAKE2b-256 e762655a462cdb54219c0da02e85c0f2e5673432945da1d03bdd6b8b5bf935ff

See more details on using hashes here.

Provenance

File details

Details for the file bokeh_plot-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: bokeh_plot-0.1.2-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

Hashes for bokeh_plot-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d214e7f8de9133b184ca4a9400ac9377fbd1d5e3b2c5892b88af7daa9e1f4acd
MD5 be6e0e52b8032dc15828fdd08ea8ef66
BLAKE2b-256 6243e93910bc57c7d10f9f1045260484126d14dd8c66ad9b718e0dfe63238f0a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page