From 6da56690138d8d9d82f9f5dc77c87bfe0d017ca7 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Fri, 12 Sep 2025 10:41:23 -0400 Subject: [PATCH] update links --- doc/python/imshow.md | 10 +++++----- doc/python/plotly-express.md | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/python/imshow.md b/doc/python/imshow.md index 08be73e2985..ddc9c73d410 100644 --- a/doc/python/imshow.md +++ b/doc/python/imshow.md @@ -5,10 +5,10 @@ jupyter: text_representation: extension: .md format_name: markdown - format_version: '1.2' - jupytext_version: 1.4.2 + format_version: '1.3' + jupytext_version: 1.17.2 kernelspec: - display_name: Python 3 + display_name: Python 3 (ipykernel) language: python name: python3 language_info: @@ -20,7 +20,7 @@ jupyter: name: python nbconvert_exporter: python pygments_lexer: ipython3 - version: 3.7.7 + version: 3.12.0 plotly: description: How to display image data in Python with Plotly. display_as: scientific @@ -61,7 +61,7 @@ In order to create a numerical array to be passed to `px.imshow`, you can use a ```python import plotly.express as px from skimage import io -img = io.imread('https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Crab_Nebula.jpg/240px-Crab_Nebula.jpg') +img = io.imread('https://user-images.githubusercontent.com/72614349/179115668-2630e3e4-3a9f-4c88-9494-3412e606450a.jpg') fig = px.imshow(img) fig.show() ``` diff --git a/doc/python/plotly-express.md b/doc/python/plotly-express.md index 0aebc72dccf..f3cbf1d81df 100644 --- a/doc/python/plotly-express.md +++ b/doc/python/plotly-express.md @@ -6,7 +6,7 @@ jupyter: extension: .md format_name: markdown format_version: '1.3' - jupytext_version: 1.14.7 + jupytext_version: 1.17.2 kernelspec: display_name: Python 3 (ipykernel) language: python @@ -20,7 +20,7 @@ jupyter: name: python nbconvert_exporter: python pygments_lexer: ipython3 - version: 3.10.4 + version: 3.12.0 plotly: description: Plotly Express is a terse, consistent, high-level API for creating figures. @@ -386,7 +386,7 @@ fig.show() ```python import plotly.express as px from skimage import io -img = io.imread('https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Crab_Nebula.jpg/240px-Crab_Nebula.jpg') +img = io.imread('https://user-images.githubusercontent.com/72614349/179115668-2630e3e4-3a9f-4c88-9494-3412e606450a.jpg') fig = px.imshow(img) fig.show() ```