Skip to main content

A python package enabling you to use HighCharts with Jupyter, HoloViz Panel and the rest of the tools you know and love

Project description

Panel HighCharts Logo

PyPI version Downloads Python Versions PyPI - License Style Black

Follow on Twitter

📈 Panel HighCharts

The panel-highcharts package makes it easy to use Highcharts from Python for exploratory analysis in a Jupyter Notebook or as a HoloViz Panel Web App.

Check out the panel-highcharts examples on Binder or the article Highly Interactive Data Visualization.

Jupyter Notebook Jupyter Labs Panel Apps
Binder Binder Binder

Panel HighChart Reference Example

🏁 Background

This project was started because a colleague of mine loves to use HighCharts for his analytics trading apps. As there was no really easy way of using HighCharts in Python, Notebooks or Panel, it would be difficult for me, my team and our traders to collaborate. So I created this package in my spare time as an open source project to share with the world.

⚖️ License

The panel-highcharts python package and repository is open source and free to use (MIT License), however Highcharts itself requires a license for commercial use. For more info see the Highcharts license FAQs.

🏃 Getting Started

With pip

pip install panel-highcharts

From within a Jupyter Notebook

import panel_highcharts as ph

import panel as pn
pn.extension('highchart')
configuration = {
    "title": {"text": "HighChart Pane"},
    "series": [
        {
            "name": "series1",
            "data": [1, 2, 3, 4, 5],
        }
    ]
}
ph.HighChart(object=configuration, sizing_mode="stretch_width")

Basic Example

👩‍🏫 Reference Guides

Guide Notebook Jupyter Notebook Jupyter Labs Panel App
HighChart View Binder Binder Binder
HighStock View Binder Binder Binder
HighMap View Binder Binder Binder
HighGantt View Binder Binder Binder

🎨 Gallery

Guide Notebook Jupyter Notebook Jupyter Labs App App
AddSeriesDynamically View Binder Binder Binder
LinkedCharts View Binder Binder Binder
Network View Binder Binder Binder Awesome Panel
PackedBubble View Binder Binder Binder
Variwide View Binder Binder Binder

💡 Inspiration

You can find more inspiration via

🛣️ Roadmap

When I get the time I would like to

  • Support pandas .plot api via method as .highplot on dataframes
  • Add more examples
  • Add badges for 100% test coverage etc.
  • Distribute as conda package

📰 Change Log

  • 20210830: Released new version with more config options to support LinkedCharts gallery example
  • 20210816: Upgrade to panel 0.12.1 and support Variwide Chart
  • 20210724: Work around https://github.com/holoviz/panel/issues/2571
  • 20210724: Upgraded to Panel 0.12.0 and Bokeh 2.3.3
  • 20210619: Add add_series method
  • 20210517: Add PackedBubble example
  • 20210405: Add HighStock, HighMap, HighGantt
  • 20210404: Can now display in Classic Notebook
  • 20210403: First Release to PyPi. Works in Jupyter Lab and Panel App.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panel-highcharts-20211027.1.tar.gz (36.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

panel_highcharts-20211027.1-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file panel-highcharts-20211027.1.tar.gz.

File metadata

  • Download URL: panel-highcharts-20211027.1.tar.gz
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

File hashes

Hashes for panel-highcharts-20211027.1.tar.gz
Algorithm Hash digest
SHA256 58563f0e0df38d445a097e16fb00912a27d88395b47485813f8b6c5ef0ae9350
MD5 f7c5277eddbd6b2544ab776531f40e98
BLAKE2b-256 ca13dc6b3865c6d382d008b218e5ab91aa8407e0683f7bbd2726a388dfcd929f

See more details on using hashes here.

File details

Details for the file panel_highcharts-20211027.1-py3-none-any.whl.

File metadata

  • Download URL: panel_highcharts-20211027.1-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

File hashes

Hashes for panel_highcharts-20211027.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a06981cccbf2c023417298f479ff832b2f89739b4a94a920b2ea6275ef5a88ba
MD5 caa7cfcf11887c257ced44a9fba26846
BLAKE2b-256 e7fd5f57511a0b6cd3a99270fd166446d9ee1b47259e371146ef7c3e483c7813

See more details on using hashes here.

Supported by

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