Skip to content

Instantly share code, notes, and snippets.

View maartenbreddels's full-sized avatar

Maarten Breddels maartenbreddels

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maartenbreddels
maartenbreddels / reacton-in-panel.py
Created December 13, 2022 19:58
Reacton running in Panel
# $ panel serve reacton-in-panel.py
import panel as pn
import reacton
import reacton.ipywidgets as w
@reacton.component
def ButtonClick(label="Hi"):
clicks, set_clicks = reacton.use_state(0)
def increment():
@maartenbreddels
maartenbreddels / on-pycafe.rst
Created July 15, 2024 10:48
Example of using PyCafe with sphibnx

Code and image on PyCafe

This is a simple Altair example that compares the performance of different cars.

Code

This code below is included from PyCafe directly.