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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bokeh_plot-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d40a489fb5dcfada4db102720d87f86491341b50a76e5501083097d09cd519f7
MD5 e4576d2a1a88e23cafc96ddfb5c7a605
BLAKE2b-256 4b71ac4a6042eca60f1c8877e734bebae1100baeacbf1a600bb1b9a91b350ccb

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bokeh_plot-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fe81d13ee53fcf8fa6891a05c85076000cd2ac87aa8c7b972ac37682f2b6210a
MD5 fa940e14982ad155ead584d866c6dae3
BLAKE2b-256 e67b486a6c385590362d7e80dc73f9ffa31b02ebb51c3bd88f8131b6e17657d8

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