From 5b9b5d832a6945a6da5c89a06c0663e6b9583f77 Mon Sep 17 00:00:00 2001 From: Xen0Xys Date: Fri, 2 Aug 2024 15:56:12 +0200 Subject: [PATCH] :memo: Adding image display in notebook 11 --- .../11_Extracting_information_from_the_view.ipynb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/11_Extracting_information_from_the_view.ipynb b/examples/11_Extracting_information_from_the_view.ipynb index 55b3ff6..4b301e7 100644 --- a/examples/11_Extracting_information_from_the_view.ipynb +++ b/examples/11_Extracting_information_from_the_view.ipynb @@ -267,6 +267,17 @@ "source": [ "aladin.save_view_as_image(path=\"./crab.png\", image_format=\"png\", with_logo=True)" ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "a3ca08a32aaaf3d4", + "metadata": {}, + "outputs": [], + "source": [ + "img = plt.imread(\"./crab.png\")\n", + "plt.imshow(img)" + ] } ], "metadata": {