Skip to main content

Bokeh plotting backend for Pandas.DataFrames

Project description

Pandas Bokeh

Pandas Bokeh provides a Bokeh plotting backend for Pandas and GeoPandas, similar to the already existing Visualization feature of Pandas. Importing the library adds a complementary plotting method plot_bokeh() on DataFrames and Series (and also on GeoDataFrames).

For more information and examples have a look at the Github Repository.


Installation

You can install Pandas Bokeh from PyPI via pip:

pip install pandas-bokeh

Pandas Bokeh is officially supported on Python 2.7, as well as Python 3.6 and above.


Description

With Pandas Bokeh, creating stunning, interactive, HTML-based visualization is as easy as calling:

df.plot_bokeh()

In release 0.1, the following plot types are supported:

  • line
  • point
  • scatter
  • bar
  • histogram
  • area
  • pie
  • mapplot

Furthermore, also GeoDataFrames have a new plotting backend as can be seen in the provided examples.


Pandas Bokeh is a high-level API for Bokeh on top of Pandas and GeoPandas that tries to figure out best, what the user wants to plot. Nevertheless, there are many options for customizing the plots, for example:

  • figsize: Choose width & height of the plot
  • title: Sets title of the plot
  • xlim/ylim: Set visible range of plot for x- and y-axis (also works for datetime x-axis)
  • xlabel/ylabel: Set x- and y-labels
  • logx/logy: Set log-scale on x-/y-axis
  • xticks/yticks: Explicitly set the ticks on the axes
  • colormap: Defines the colors to plot. Can be either a list of colors or the name of a Bokeh color palette
  • hovertool_string: For customization of hovertool content

Each plot type like scatterplot or histogram further has many more additional customization options that is described here.

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

pandas-bokeh-0.1.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

pandas_bokeh-0.1-py2.py3-none-any.whl (25.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pandas-bokeh-0.1.tar.gz.

File metadata

  • Download URL: pandas-bokeh-0.1.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for pandas-bokeh-0.1.tar.gz
Algorithm Hash digest
SHA256 de580f1d39ab85b6b55c654c77cd58875f39b3fbecd1ea65cce2fc59a13dafe3
MD5 a7b7dfe25eff53178f38b06a0169c8b2
BLAKE2b-256 9991a3d07675a60c0e7659c030bd3d05a5fd25a73ecabc45928bc3117b4daf0d

See more details on using hashes here.

File details

Details for the file pandas_bokeh-0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pandas_bokeh-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for pandas_bokeh-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ee488aa63aa8ec0e21d09e8627edd77d578f8ac3c793f51126ce042cabd8f2b1
MD5 f888272d8b3f11abe586c92eb509f2a4
BLAKE2b-256 642fb0d7a7452b0afe7c41711f12fb009c8e2cec01e90178b2e8cce53035eae3

See more details on using hashes here.

Supported by

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