From 5cf6c809294a813263636eb0c6de4bb587d79153 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Tue, 6 Feb 2024 20:08:24 -0800 Subject: [PATCH 1/7] Fix rendering in documentation of histogram histfunc --- packages/python/plotly/plotly/express/_chart_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python/plotly/plotly/express/_chart_types.py b/packages/python/plotly/plotly/express/_chart_types.py index dc2b22599e5..74cdf84fa49 100644 --- a/packages/python/plotly/plotly/express/_chart_types.py +++ b/packages/python/plotly/plotly/express/_chart_types.py @@ -497,7 +497,7 @@ def histogram( y=["If `orientation` is `'v'`, these values are used as inputs to `histfunc`."] + _wide_mode_xy_append, histfunc=[ - "The arguments to this function are the values of `y`(`x`) if `orientation` is `'v'`(`'h'`).", + "The arguments to this function are the values of `y` (`x`) if `orientation` is `'v'` (`'h'`).", ], ), ) From 92140125f04984e4af60460cddc1325384830f05 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Tue, 6 Feb 2024 20:14:42 -0800 Subject: [PATCH 2/7] Fix missing space between sentences in doc of histogram --- packages/python/plotly/plotly/express/_doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python/plotly/plotly/express/_doc.py b/packages/python/plotly/plotly/express/_doc.py index 5137dea5b28..5a8690f856d 100644 --- a/packages/python/plotly/plotly/express/_doc.py +++ b/packages/python/plotly/plotly/express/_doc.py @@ -448,7 +448,7 @@ ], histfunc=[ "str (default `'count'` if no arguments are provided, else `'sum'`)", - "One of `'count'`, `'sum'`, `'avg'`, `'min'`, or `'max'`." + "One of `'count'`, `'sum'`, `'avg'`, `'min'`, or `'max'`.", "Function used to aggregate values for summarization (note: can be normalized with `histnorm`).", ], histnorm=[ From 1d2cebb806077bac45f0867b918691ee06b6da2f Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Thu, 15 Feb 2024 12:11:29 -0500 Subject: [PATCH 3/7] Update release.md --- release.md | 1 + 1 file changed, 1 insertion(+) diff --git a/release.md b/release.md index bc879a01708..32c575821ee 100644 --- a/release.md +++ b/release.md @@ -270,3 +270,4 @@ From `packages/python/plotly-geo`, build the conda package ``` Then upload to the plotly anaconda channel as described above. + From dd61ae203d71652abe15d91ae6a9038c5f8936d6 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Thu, 15 Feb 2024 12:50:06 -0500 Subject: [PATCH 4/7] Update requirements.txt --- doc/requirements.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/requirements.txt b/doc/requirements.txt index 9b2909bb47d..47ae7b87b25 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -21,6 +21,12 @@ squarify scikit-image==0.18.1 scikit-learn sphinx==3.5.4 +sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-jsmath==1.0.1 sphinx_bootstrap_theme recommonmark pathlib From d780d15efc4d47d1bf85da06956146045ea11218 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Thu, 15 Feb 2024 12:51:18 -0500 Subject: [PATCH 5/7] Update release.md --- release.md | 1 - 1 file changed, 1 deletion(-) diff --git a/release.md b/release.md index 32c575821ee..bc879a01708 100644 --- a/release.md +++ b/release.md @@ -270,4 +270,3 @@ From `packages/python/plotly-geo`, build the conda package ``` Then upload to the plotly anaconda channel as described above. - From 29372c323a35ea62e33a0d0a2e9746875009f867 Mon Sep 17 00:00:00 2001 From: Rob L Date: Mon, 4 Mar 2024 18:47:53 -0500 Subject: [PATCH 6/7] added UTF-8 encoding to the Jinja2 template example I followed this example and got nonsense characters instead of negative signs because I failed to specify UTF-8 encoding, as discussed in https://github.com/plotly/plotly.py/issues/4118 --- doc/python/interactive-html-export.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/python/interactive-html-export.md b/doc/python/interactive-html-export.md index 013c87c286b..461afe7f548 100644 --- a/doc/python/interactive-html-export.md +++ b/doc/python/interactive-html-export.md @@ -64,6 +64,11 @@ You can insert Plotly output and text related to your data into HTML templates u ``` <!DOCTYPE html> <html> +<head> +<meta charset="utf-8" /> <!--It is necessary to use the UTF-8 encoding with plotly graphics to get e.g. negative signs to render correctly --> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> +</head> + <body> <h1>Here's a Plotly graph!</h1> {{ fig }} From fe30bc5254f8e7119d68866d74e552280f3997af Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Tue, 5 Mar 2024 12:56:12 -0500 Subject: [PATCH 7/7] update browser-tools version --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e7f7599b82a..c25f9ac9c95 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - browser-tools: circleci/browser-tools@1.4.6 + browser-tools: circleci/browser-tools@1.4.8 commands: test_core: