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.5.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

Hashes for bokeh_plot-0.1.5.tar.gz
Algorithm Hash digest
SHA256 fda6e0f746f58e5be71d1f5beba8bd3bf420c914c32d0797e65cadd03b4c0687
MD5 d303342c2884127447e75109bfbaad6a
BLAKE2b-256 6267c420b6ee666a6e39c349b1edbf7bdefcf70e823d780b9f197de5ffefca15

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bokeh_plot-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6c5b426da74bcda77a50e7e3d9aecc73388912239b81b0d7ffb347b5d1c8f3b8
MD5 88276dbdd69bab227d02159f97594782
BLAKE2b-256 85a021c1c33d6e3961d774184d26fc8baf31bc79250b531dc8c0217ccb788883

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