Create interactive data-exploration tools and web apps with Python in Panel
Python continues to be the language of choice for all things scientific. Panel is a new open source high-level library for creating ways of showing off scientific data. It supports popular Python plotting libraries such as Bokeh, Matplotlib, and Datashader for data visualization. Create reactive objects with Panel and compose plots, tables, and more.
Panel is a new open source high-level library for helping developers snake-charm solutions for Python.
Python continues its reign as an interactive way to show off scientific data, so let’s check out this library and see what it adds to the equation.
Features & usage
According to Philipp Rudiger at Anaconda Inc, Panel “lets you create custom interactive web apps and dashboards by connecting user-defined widgets to plots, images, tables, or text“. He goes on to write in his Panel announcement post:
The main aim behind Panel was to make it as easy as possible to wrap the outputs of existing tools in the PyData ecosystem as a control panel, app, or dashboard, ensuring that users can seamlessly work with the analysis and visualization tools they are already familiar with. Secondly, Panel aims to make it trivial to go from prototyping an app to deploying it internally within an organization, or sharing it publicly with the entire internet.
Panel supports Python plotting libraries such as Bokeh, Matplotlib, and Datashader in order to help visualize your data. (See the full list of supported object types and libraries here. As per the issue, additional supported types may come in future updates.) Panel automatically chooses which representation to use for a library.
Interactive widgets can add to the mix. Jupyter Notebooks can also integrate to create either standalone one-off apps, or mixed into a larger project. With this flexibility, components can be added or removed to create a dynamic, complex dashboard.
We are very happy to announce the formal release of Panel: A high-level app and dashboarding solution for Python from @anacondainc. Many thanks to the contributors so far and to @BokehPlots for providing a great tool to build on. See the Medium blog post: https://t.co/hQ15rEYuQ5
— PyViz (@PyViz_org) June 3, 2019
Setting up & examples
Panel requires Python v2.7 and v3 on Linux, Windows, or Mac. See the starting guide for information on requisites and how to install the optional JupyterLab extension and/or add interactive controls.
Explore the demo gallery and get a glimpse of how Panel works and brainstorm some ideas for its potential. (Example projects also available for experimentation on GitHub. Each example comes with a small dataset for testing.)