File: jupyter.md

package info (click to toggle)
python-trame 3.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 101,620 kB
  • sloc: python: 13,515; sh: 183; javascript: 93; makefile: 7
file content (20 lines) | stat: -rw-r--r-- 308 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Exposing a trame application into Jupyter

## Define application

<<< @/../../examples/core_features/jupyter.py

## Use application within Jupyter

```python
cone = Cone()
cone
```

![Trame in Jupyer](/assets/images/deployment/jupyter.png)

## Edit state in another cell

```python
cone.resolution = 4
```