Notebook / Colab¶
You can launch the Burr UI directly from a Jupyter notebook or Google Colab using the
%burr_ui IPython magic, without needing a separate terminal.
Jupyter Notebook¶
# Load the extension and print the URL
%load_ext burr.integrations.notebook
%burr_ui
# → "Burr UI: http://127.0.0.1:7241"
The magic starts the tracking server on port 7241 if it isn’t already running and
prints the URL to access it.
Google Colab¶
In Colab, the kernel runs remotely, so you need to forward the port to your browser:
%load_ext burr.integrations.notebook
%burr_ui
from google.colab import output
output.serve_kernel_port_as_window(7241) # opens a new browser window
output.serve_kernel_port_as_iframe(7241) # or inline as an iframe