Skip to content

Commit e296a2c

Browse files
Update notebook.
1 parent 519f21d commit e296a2c

1 file changed

Lines changed: 8 additions & 61 deletions

File tree

examples/test-widget-with-xeus-python.ipynb

Lines changed: 8 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
{
1717
"cell_type": "code",
18-
"execution_count": 3,
18+
"execution_count": null,
1919
"id": "762d552a-dafd-4b4b-9b0c-8b6612d2415b",
2020
"metadata": {
2121
"scrolled": true
@@ -52,27 +52,12 @@
5252
},
5353
{
5454
"cell_type": "code",
55-
"execution_count": 4,
55+
"execution_count": null,
5656
"id": "aae633ad-bbb2-45c2-a1ff-5fab18146172",
5757
"metadata": {
5858
"scrolled": true
5959
},
60-
"outputs": [
61-
{
62-
"data": {
63-
"application/vnd.jupyter.widget-view+json": {
64-
"model_id": "46dcb1855d154b0f83c51e3805c65aea",
65-
"version_major": 2,
66-
"version_minor": 0
67-
},
68-
"text/plain": [
69-
"MoveHubWidget(n_lanes=4)"
70-
]
71-
},
72-
"metadata": {},
73-
"output_type": "display_data"
74-
}
75-
],
60+
"outputs": [],
7661
"source": [
7762
"# number of concurrent \"lanes\"\n",
7863
"n_lanes = 4\n",
@@ -82,25 +67,10 @@
8267
},
8368
{
8469
"cell_type": "code",
85-
"execution_count": 5,
70+
"execution_count": null,
8671
"id": "9b5f6086-3605-47ee-a170-57d3b97600e2",
8772
"metadata": {},
88-
"outputs": [
89-
{
90-
"data": {
91-
"application/vnd.jupyter.widget-view+json": {
92-
"model_id": "c479d3e558384ef382f2660cbddd4d03",
93-
"version_major": 2,
94-
"version_minor": 0
95-
},
96-
"text/plain": [
97-
"Output()"
98-
]
99-
},
100-
"metadata": {},
101-
"output_type": "display_data"
102-
}
103-
],
73+
"outputs": [],
10474
"source": [
10575
"# Case 1 : Execute this cell if there is no MoveHub connected\n",
10676
"widget.connect()"
@@ -121,25 +91,10 @@
12191
},
12292
{
12393
"cell_type": "code",
124-
"execution_count": 6,
94+
"execution_count": null,
12595
"id": "e2b06dac-4056-435f-800a-60134c48c27e",
12696
"metadata": {},
127-
"outputs": [
128-
{
129-
"data": {
130-
"application/vnd.jupyter.widget-view+json": {
131-
"model_id": "46dcb1855d154b0f83c51e3805c65aea",
132-
"version_major": 2,
133-
"version_minor": 0
134-
},
135-
"text/plain": [
136-
"MoveHubWidget(n_lanes=4)"
137-
]
138-
},
139-
"metadata": {},
140-
"output_type": "display_data"
141-
}
142-
],
97+
"outputs": [],
14398
"source": [
14499
"display(widget)"
145100
]
@@ -159,15 +114,7 @@
159114
"metadata": {
160115
"scrolled": true
161116
},
162-
"outputs": [
163-
{
164-
"name": "stdout",
165-
"output_type": "stream",
166-
"text": [
167-
"LedColor.pink\n"
168-
]
169-
}
170-
],
117+
"outputs": [],
171118
"source": [
172119
"lane_proxy = MoveHubLaneProxy (movehub = widget, lane = 0, identifier = widget.identifier)\n",
173120
"for color in colors:\n",

0 commit comments

Comments
 (0)