From b17d029865708d4f3d17a0e321bb3e7bde1e813a Mon Sep 17 00:00:00 2001 From: Neil Vaytet Date: Mon, 1 Jul 2024 11:45:39 +0200 Subject: [PATCH] do not show graph and avoid graphviz dependency --- docs/wfm-stitching.ipynb | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/wfm-stitching.ipynb b/docs/wfm-stitching.ipynb index 9582a20..175975a 100644 --- a/docs/wfm-stitching.ipynb +++ b/docs/wfm-stitching.ipynb @@ -425,21 +425,12 @@ { "cell_type": "code", "execution_count": null, - "id": "d3c6cb34-cebe-43c3-8253-574fbad9b790", + "id": "dbb79512-efbc-4f9c-92e4-e1125f18b07f", "metadata": {}, "outputs": [], "source": [ + "# Make a coordinate transformation graph to compute wavelength from tof\n", "graph = {**beamline(scatter=True), **elastic(\"tof\")}\n", - "sc.show_graph(graph, simplified=True)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "78a5c3fc-3454-42b2-9874-4d0069d69a9e", - "metadata": {}, - "outputs": [], - "source": [ "wav_naive = tofs.transform_coords(\"wavelength\", graph=graph)\n", "wav_naive.hist(wavelength=300).plot()" ]