Skip to main content

Bokeh plotting backend for Pandas, GeoPandas & Pyspark

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. It also has native plotting backend support for Pandas >= 0.25.

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

or conda:

conda install -c patrikhlobil pandas-bokeh 

Pandas Bokeh is officially supported on Python 3.5 and above.


Description

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

df.plot_bokeh()

In release 0.5.2, the following plot types are supported:

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

Furthermore, also GeoPandas and Pyspark 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.5.2.tar.gz (19.6 MB view details)

Uploaded Source

Built Distribution

pandas_bokeh-0.5.2-py2.py3-none-any.whl (29.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pandas-bokeh-0.5.2.tar.gz
  • Upload date:
  • Size: 19.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas-bokeh-0.5.2.tar.gz
Algorithm Hash digest
SHA256 5d5b26b9842996b7be5accefb152a01157644986ef9944a01e586a2393882dd4
MD5 eb86b027eee288791feb2db5407c56f9
BLAKE2b-256 d900c071450b7d7b1797f22e469c892aab8538a090326ccd81d2e3d397a8c4bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas_bokeh-0.5.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for pandas_bokeh-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dc01566321d5b2949cbf0ce0db47c1766f3c5af495ada23f865ba985e93153b8
MD5 d1ac08c3a2f48fc4dfa0c5208350d2a1
BLAKE2b-256 0b9c4d21c5b6a8e0a4c85c11a03d4f434470f4d2838f8c8b9fe0d94a26008396

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