Skip to content

Commit b17d029

Browse files
committed
do not show graph and avoid graphviz dependency
1 parent e08cb29 commit b17d029

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docs/wfm-stitching.ipynb

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -425,21 +425,12 @@
425425
{
426426
"cell_type": "code",
427427
"execution_count": null,
428-
"id": "d3c6cb34-cebe-43c3-8253-574fbad9b790",
428+
"id": "dbb79512-efbc-4f9c-92e4-e1125f18b07f",
429429
"metadata": {},
430430
"outputs": [],
431431
"source": [
432+
"# Make a coordinate transformation graph to compute wavelength from tof\n",
432433
"graph = {**beamline(scatter=True), **elastic(\"tof\")}\n",
433-
"sc.show_graph(graph, simplified=True)"
434-
]
435-
},
436-
{
437-
"cell_type": "code",
438-
"execution_count": null,
439-
"id": "78a5c3fc-3454-42b2-9874-4d0069d69a9e",
440-
"metadata": {},
441-
"outputs": [],
442-
"source": [
443434
"wav_naive = tofs.transform_coords(\"wavelength\", graph=graph)\n",
444435
"wav_naive.hist(wavelength=300).plot()"
445436
]

0 commit comments

Comments
 (0)