Skip to content

Instantly share code, notes, and snippets.

@MarcSkovMadsen
Last active March 4, 2024 04:58
Show Gist options
  • Save MarcSkovMadsen/9aa8b36d82902dd84b245b5ae6fe3615 to your computer and use it in GitHub Desktop.
Save MarcSkovMadsen/9aa8b36d82902dd84b245b5ae6fe3615 to your computer and use it in GitHub Desktop.
Panel - Getting Started Notebook Example
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# This file is used by Binder
jupyter serverextension enable panel.io.jupyter_server_extension
panel==0.12.6
pandas
matplotlib
@MarcSkovMadsen
Copy link
Author

MarcSkovMadsen commented Jan 8, 2022

Panel - Getting Started Notebook Example

Binder Open In Colab

Introduction

This example shows the components of a Panel App in action: widgets, reactive functions, layouts, panes, and templates

panel-getting-started-speedup

Installation

We will assume you already have installed jupyterlab. If not just add jupyterlab to your requirements.txt.

pip install requirements.txt

To enable the Jupyter Panel Preview run

jupyter serverextension enable panel.io.jupyter_server_extension

Run the app

panel serve panel_getting_started.ipynb

Learn more

To get started with Panel check out the Panel Getting Started Guide. To get or provide help check out the community forum. For more inspiration check out my site awesome-panel.org.

Support us

If you want to support us please give us a ⭐ on Github (Panel, Awesome-Panel)

Promo Video

panel-getting-started-speedup.mp4

@eilinsky
Copy link

jupyter serverextension enable panel.io.jupyter_server_extension
fails:

Enabling: panel.io.jupyter_server_extension

  • Writing config: C:\Users<user>.jupyter
    • Validating...
      Error loading server extension panel.io.jupyter_server_extension
      X is panel.io.jupyter_server_extension importable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment