Skip to content

Commit d3df88e

Browse files
committed
Formate code
1 parent b063645 commit d3df88e

1 file changed

Lines changed: 9 additions & 18 deletions

File tree

examples/getting-started.ipynb

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
},
127127
{
128128
"cell_type": "code",
129-
"execution_count": 2,
129+
"execution_count": null,
130130
"id": "652ybsznrab",
131131
"metadata": {},
132132
"outputs": [],
@@ -145,7 +145,7 @@
145145
},
146146
{
147147
"cell_type": "code",
148-
"execution_count": 3,
148+
"execution_count": null,
149149
"id": "686e0beb",
150150
"metadata": {},
151151
"outputs": [],
@@ -155,7 +155,7 @@
155155
},
156156
{
157157
"cell_type": "code",
158-
"execution_count": 4,
158+
"execution_count": null,
159159
"id": "c68712f0",
160160
"metadata": {},
161161
"outputs": [],
@@ -166,7 +166,7 @@
166166
},
167167
{
168168
"cell_type": "code",
169-
"execution_count": 5,
169+
"execution_count": null,
170170
"id": "f174b6ed00027bf5",
171171
"metadata": {},
172172
"outputs": [],
@@ -188,21 +188,10 @@
188188
},
189189
{
190190
"cell_type": "code",
191-
"execution_count": 6,
191+
"execution_count": null,
192192
"id": "1fc58d6d",
193193
"metadata": {},
194-
"outputs": [
195-
{
196-
"data": {
197-
"text/plain": [
198-
"<function neo4j_viz.widget.GraphWidget.on_selection_change.<locals>.handler(change: 'dict[str, Any]') -> 'None'>"
199-
]
200-
},
201-
"execution_count": 6,
202-
"metadata": {},
203-
"output_type": "execute_result"
204-
}
205-
],
194+
"outputs": [],
206195
"source": [
207196
"# Run this cell once to register the callback, then select a node in the widget above.\n",
208197
"def on_selection_change(selection: GraphSelection) -> None:\n",
@@ -216,7 +205,9 @@
216205
" other_nodes = [n for n in widget.nodes if n.id != source_node.id]\n",
217206
" target_node = random.choice(other_nodes)\n",
218207
" widget.add_data(\n",
219-
" relationships=Relationship(source=source_node.id, target=target_node.id, caption=\"KNOWS\"),\n",
208+
" relationships=Relationship(\n",
209+
" source=source_node.id, target=target_node.id, caption=\"KNOWS\"\n",
210+
" ),\n",
220211
" )\n",
221212
"\n",
222213
"\n",

0 commit comments

Comments
 (0)