From aa4a05427b2f47e97e451846b460a404309201a2 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Sun, 17 Nov 2024 18:08:35 -0500 Subject: [PATCH 1/6] Update example image/GIF sizing. --- docs/assets/css/main.css | 5 +++++ docs/index.html | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 625194c..1596b83 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -3247,6 +3247,11 @@ width: 610px; } +.example-image { + width: 100%; + max-width: 550px; +} + .flex-row { width: 100%; display: flex; diff --git a/docs/index.html b/docs/index.html index 1ebf9bd..b2abd8e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -112,11 +112,11 @@

HTML Exporters

For Qt glue, the exporters are located in the "save" tool menu:

- +

The Jupyter glue viewers don't yet support subtools, so the Plotly exporters are top-level tools in the toolbar:

- +
@@ -176,7 +176,7 @@

Chart Studio Exporter

To access the exporter in Qt glue, navigate to File > Advanced Exporters > Plotly:

- +

Watch a video demonstrating the Chart Studio exporter in action:

From 5083f7f8de04420dbc9f7e05f17d55f52e5e70b5 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Sun, 17 Nov 2024 18:10:49 -0500 Subject: [PATCH 2/6] Adjust sizing for Chart Studio YouTube video. --- docs/assets/css/main.css | 6 ++++++ docs/index.html | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 1596b83..b2f31d9 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -3262,6 +3262,12 @@ gap: 2em 5px; } +#chart-studio-video { + width: 100%; + max-width: 560px; + height: 315px; +} + /* .img-link img { diff --git a/docs/index.html b/docs/index.html index b2abd8e..1a5f6ce 100644 --- a/docs/index.html +++ b/docs/index.html @@ -180,7 +180,7 @@

Chart Studio Exporter

Watch a video demonstrating the Chart Studio exporter in action:

- +
From 75c5636c3fab1b626527c33e38e683f2544a3f45 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Mon, 18 Nov 2024 00:36:02 -0500 Subject: [PATCH 3/6] Update sizing of highlight images on small screens. --- docs/assets/css/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index b2f31d9..3c6799e 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -3223,6 +3223,12 @@ transform: translateY(-50%); } +@media screen and (max-width: 840px) { + .highlight-image-container { + height: 200px; + } +} + #plotly-text-logo { aspect-ratio: 1100 / 417; } From e09eb8e86afe0c275af523b85835437013ff1db0 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Mon, 18 Nov 2024 00:36:38 -0500 Subject: [PATCH 4/6] Fix typo. --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index 1a5f6ce..691745a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -59,7 +59,7 @@

glue-plotly