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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bokeh_plot-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 67f1b75b27ccdf08b0226b9f485d56138f3a041a282e8a60ca9ec06c1186193a
MD5 997fb70055fba862a3d1273f36811b8d
BLAKE2b-256 4d07830b291cae90c6d1ab92dfc6318b5ae0e94ca33d2ba5d906fc119b167fd5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bokeh_plot-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 318c15566672e4ac271b3653fce9b4db4a9e8f196123fd86081710f3367a3c73
MD5 33d08f1f491af6ea92e5fa4eb96b7cd5
BLAKE2b-256 0c0b781b4dd2b88581a0efd2e88d5a87cc54d71d5cb10997f7af30a4d4b7723e

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