Skip to content

Instantly share code, notes, and snippets.

@alonsosilvaallende
Last active May 17, 2024 08:19
Show Gist options
  • Save alonsosilvaallende/f4ef5382cd5c8d55c2ca7bdc573eb57d to your computer and use it in GitHub Desktop.
Save alonsosilvaallende/f4ef5382cd5c8d55c2ca7bdc573eb57d to your computer and use it in GitHub Desktop.
incompatibility_jupyterlab-transformers-completer_yfiles_jupyter_graphs
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "86286f16-a2d2-48cb-89bb-0434d74baf99",
"metadata": {
"execution": {
"iopub.execute_input": "2024-05-17T08:18:43.885702Z",
"iopub.status.busy": "2024-05-17T08:18:43.885169Z",
"iopub.status.idle": "2024-05-17T08:18:43.976675Z",
"shell.execute_reply": "2024-05-17T08:18:43.975958Z",
"shell.execute_reply.started": "2024-05-17T08:18:43.885643Z"
}
},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "9d8a5f03fbd0490285fdb32e419e1ffa",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"GraphWidget(layout=Layout(height='500px', width='100%'))"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# pip install jupyterlab jupyterlab-transformers-completer yfiles_jupyter_graphs\n",
"from yfiles_jupyter_graphs import GraphWidget\n",
"\n",
"w = GraphWidget()\n",
"w.show()"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment