8000 Merge branch 'master' into docs-5-10 · Coding-with-Adam/plotly.py@66443e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 66443e1

Browse files
committed
Merge branch 'master' into docs-5-10
2 parents 51e599e + 0bfae40 commit 66443e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+4060
-310
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## UNRELEASED
6+
7+
### Updated
8+
- Updated Plotly.js to from version 2.12.1 to version 2.13.2. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2132----2022-07-21) for more information. Notable changes include:
9+
- Add `selections`, `newselection` and `activeselection` layout attributes to have persistent and editable selections over cartesian subplots
10+
- Add `unselected.line.color` and `unselected.line.opacity` options to `parcoords` trace
11+
- Display Plotly's new logo in the modebar
512

613
## [5.9.0] - 2022-06-23
714

doc/python/hover-text-and-formatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ fig.show()
183183

184184
### Customizing hover text with a hovertemplate
185185

186-
To customize the tooltip on your graph you can use the [hovertemplate](https://plotly.com/python/reference/pie/#pie-hovertemplate) attribute of `graph_objects` tracces, which is a template string used for rendering the information that appear on hoverbox.
186+
To customize the tooltip on your graph you can use the [hovertemplate](https://plotly.com/python/reference/pie/#pie-hovertemplate) attribute of `graph_objects` traces, which is a template string used for rendering the information that appear on hoverbox.
187187
This template string can include `variables` in %{variable} format, `numbers` in [d3-format's syntax](https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format), and `date` in [d3-time-format's syntax](https://github.com/d3/d3-time-format). In the example below, the empty `<extra></extra>` tag removes the part of the hover where the trace name is usually displayed in a contrasting color. The `<extra>` tag can be used to display other parts of the hovertemplate, it is not reserved for the trace name.
188188

189189
Note that a hovertemplate customizes the tooltip text, while a [texttemplate](https://plotly.com/python/reference/pie/#pie-texttemplate) customizes the text that appears on your chart. <br>

packages/javascript/jupyterlab-plotly/package-lock.json

Lines changed: 130 additions & 131 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/javascript/jupyterlab-plotly/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@lumino/messaging": "^1.2.3",
6666
"@lumino/widgets": "^1.8.1",
6767
"lodash": "^4.17.4",
68-
"plotly.js": "^2.12.1"
68+
"plotly.js": "^2.13.2"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

packages/python/plotly/codegen/resources/plot-schema.json

Lines changed: 247 additions & 5 deletions
Large diffs are not rendered by default.

packages/python/plotly/plotly/graph_objs/_box.py

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,15 +1244,15 @@ def quartilemethod(self):
12441244
Sets the method used to compute the sample's Q1 and Q3
12451245
quartiles. The "linear" method uses the 25th percentile for Q1
12461246
and 75th percentile for Q3 as computed using method #10 (listed
1247-
on http://www.amstat.org/publications/jse/v14n3/langford.html).
1248-
The "exclusive" method uses the median to divide the ordered
1249-
dataset into two halves if the sample is odd, it does not
1250-
include the median in either half - Q1 is then the median of
1251-
the lower half and Q3 the median of the upper half. The
1252-
"inclusive" method also uses the median to divide the ordered
1253-
dataset into two halves but if the sample is odd, it includes
1254-
the median in both halves - Q1 is then the median of the lower
1255-
half and Q3 the median of the upper half.
1247+
on http://jse.amstat.org/v14n3/langford.html). The "exclusive"
1248+
method uses the median to divide the ordered dataset into two
1249+
halves if the sample is odd, it does not include the median in
1250+
either half - Q1 is then the median of the lower half and Q3
1251+
the median of the upper half. The "inclusive" method also uses
1252+
the median to divide the ordered dataset into two halves but if
1253+
the sample is odd, it includes the median in both halves - Q1
1254+
is then the median of the lower half and Q3 the median of the
1255+
upper half.
12561256
12571257
The 'quartilemethod' property is an enumeration that may be specified as:
12581258
- One of the following enumeration values:
@@ -2312,17 +2312,17 @@ def _prop_descriptions(self):
23122312
Sets the method used to compute the sample's Q1 and Q3
23132313
quartiles. The "linear" method uses the 25th percentile
23142314
for Q1 and 75th percentile for Q3 as computed using
2315-
method #10 (listed on http://www.amstat.org/publication
2316-
s/jse/v14n3/langford.html). The "exclusive" method uses
2317-
the median to divide the ordered dataset into two
2318-
halves if the sample is odd, it does not include the
2319-
median in either half - Q1 is then the median of the
2320-
lower half and Q3 the median of the upper half. The
2321-
"inclusive" method also uses the median to divide the
2322-
ordered dataset into two halves but if the sample is
2323-
odd, it includes the median in both halves - Q1 is then
2324-
the median of the lower half and Q3 the median of the
2325-
upper half.
2315+
method #10 (listed on
2316+
http://jse.amstat.org/v14n3/langford.html). The
2317+
"exclusive" method uses the median to divide the
2318+
ordered dataset into two halves if the sample is odd,
2319+
it does not include the median in either half - Q1 is
2320+
then the median of the lower half and Q3 the median of
2321+
the upper half. The "inclusive" method also uses the
2322+
median to divide the ordered dataset into two halves
2323+
but if the sample is odd, it includes the median in
2324+
both halves - Q1 is then the median of the lower half
2325+
and Q3 the median of the upper half.
23262326
sd
23272327
Sets the standard deviation values. There should be as
23282328
many items as the number of boxes desired. This
@@ -2846,17 +2846,17 @@ def __init__(
28462846
Sets the method used to compute the sample's Q1 and Q3
28472847
quartiles. The "linear" method uses the 25th percentile
28482848
for Q1 and 75th percentile for Q3 as computed using
2849-
method #10 (listed on http://www.amstat.org/publication
2850-
s/jse/v14n3/langford.html). The "exclusive" method uses
2851-
the median to divide the ordered dataset into two
2852-
halves if the sample is odd, it does not include the
2853-
median in either half - Q1 is then the median of the
2854-
lower half and Q3 the median of the upper half. The
2855-
"inclusive" method also uses the median to divide the
2856-
ordered dataset into two halves but if the sample is
2857-
odd, it includes the median in both halves - Q1 is then
2858-
the median of the lower half and Q3 the median of the
2859-
upper half.
2849+
method #10 (listed on
2850+
http://jse.amstat.org/v14n3/langford.html). The
2851+
"exclusive" method uses the median to divide the
2852+
ordered dataset into two halves if the sample is odd,
2853+
it does not include the median in either half - Q1 is
2854+
then the median of the lower half and Q3 the median of
2855+
the upper half. The "inclusive" method also uses the
2856+
median to divide the ordered dataset into two halves
2857+
but if the sample is odd, it includes the median in
2858+
both halves - Q1 is then the median of the lower half
2859+
and Q3 the median of the upper half.
28602860
sd
28612861
Sets the standard deviation values. There should be as
28622862
many items as the number of boxes desired. This

0 commit comments

Comments
 (0)
0