Skip to main content

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.5, 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.

Release files for pandas-bokeh 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pandas-bokeh 0.5.5
File Size Uploaded
pandas-bokeh-0.5.5.tar.gz 19.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pandas-bokeh 0.5.5
File Interpreter ABI Platform
pandas_bokeh-0.5.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 19.6 MB

Release files / pandas-bokeh-0.5.5.tar.gz

Download URL pandas-bokeh-0.5.5.tar.gz
Size 19.6 MB
Tags Source
SHA-256 checksum
How to use checksums
332e2bf2548640bbfa22bf683ba0820dbb427d4da8c129ef151124538a7640bf
BLAKE2b-256 checksum
How to use checksums
5252909116aad919a11c18a4c45afececa03076b05a5d2971fec244d8f7ef12d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / pandas_bokeh-0.5.5-py2.py3-none-any.whl

Download URL pandas_bokeh-0.5.5-py2.py3-none-any.whl
Size 29.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7de79e45c2cc50bcc3560cf4ab5099fd3ae79962bc7af02f9880638a3bdec84e
BLAKE2b-256 checksum
How to use checksums
c608a1fb196d9a58893bbf67b13a7db3973f39744f9bea0dca25a31656660569
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.5.5 This release

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1.1

2 release files

0.1

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page