Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d281683

Browse filesBrowse files
Merge pull request plotly#3522 from plotly/pre5.5
Pre5.5
2 parents e735ba8 + 61081e5 commit d281683
Copy full SHA for d281683

File tree

Expand file treeCollapse file tree

7 files changed

+33
-17
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+33
-17
lines changed

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55

66
## UNRELEASED
77

8-
### Fixed
9-
- Fixed ValueError when `ff.create_annotated_heatmap` passes `rgba()` colors into `to_rgb_color_list` [#3478](https://github.com/plotly/plotly.py/issues/3478)
10-
118
### Added
129

1310
- `text_auto` argument to `px.bar`, `px.histogram`, `px.density_heatmap`, `px.imshow` [#3518](https://github.com/plotly/plotly.py/issues/3518)
1411
- Deprecated `ff.create_annotated_heatmap`, `ff.create_county_choropleth`, `ff.create_gantt` [#3518](https://github.com/plotly/plotly.py/issues/3518)
15-
- `div_id` argument to `pio.to_html` to optionally make its IDs deterministic [#3487](https://github.com/plotly/plotly.py/issues/3487)
16-
12+
- `div_id` argument to `pio.to_html`, `pio.write_html`, `fig.to_html` and `fig.write_html` to optionally make its IDs deterministic [#3487](https://github.com/plotly/plotly.py/issues/3487) with thanks to [@Skn0tt](https://github.com/Skn0tt)
13+
14+
### Fixed
15+
- Fixed ValueError when `ff.create_annotated_heatmap` passes `rgba()` colors into `to_rgb_color_list` [#3478](https://github.com/plotly/plotly.py/issues/3478) with thanks to [@janosh](https://github.com/janosh)
16+
1717
### Updated
18-
- Updated Plotly.js to from version 2.6.3 to version 2.8.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#280----2021-12-10) for more information. Notable changes include:
18+
- Updated Plotly.js to from version 2.6.3 to version 2.8.3. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#280----2021-12-10) for more information. Notable changes include:
1919
- Horizontal color bars
20-
- texttemplate for histogram-like traces
21-
- text for heatmap-like traces
20+
- `texttemplate` for histogram-like and heatmap-like traces
21+
2222

2323
## [5.4.0] - 2021-11-15
2424

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

Copy file name to clipboardExpand all lines: packages/javascript/jupyterlab-plotly/package-lock.json
+3-3Lines changed: 3 additions & 3 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

Copy file name to clipboardExpand all lines: packages/javascript/jupyterlab-plotly/package.json
+1-1Lines 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.8.1"
68+
"plotly.js": "^2.8.3"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

‎packages/python/plotly/plotly/basedatatypes.py

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/basedatatypes.py
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3576,6 +3576,10 @@ def to_html(self, *args, **kwargs):
35763576
validate: bool (default True)
35773577
True if the figure should be validated before being converted to
35783578
JSON, False otherwise.
3579+
div_id: str (default None)
3580+
If provided, this is the value of the id attribute of the div tag. If None, the
3581+
id attribute is a UUID.
3582+
35793583
Returns
35803584
-------
35813585
str
@@ -3687,9 +3691,13 @@ def write_html(self, *args, **kwargs):
36873691
validate: bool (default True)
36883692
True if the figure should be validated before being converted to
36893693
JSON, False otherwise.
3690-
auto_open: bool (default True
3694+
auto_open: bool (default True)
36913695
If True, open the saved file in a web browser after saving.
36923696
This argument only applies if `full_html` is True.
3697+
div_id: str (default None)
3698+
If provided, this is the value of the id attribute of the div tag. If None, the
3699+
id attribute is a UUID.
3700+
36933701
Returns
36943702
-------
36953703
str

‎packages/python/plotly/plotly/io/_html.py

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/io/_html.py
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ def to_html(
125125
validate: bool (default True)
126126
True if the figure should be validated before being converted to
127127
JSON, False otherwise.
128+
div_id: str (default None)
129+
If provided, this is the value of the id attribute of the div tag. If None, the
130+
id attribute is a UUID.
131+
128132
Returns
129133
-------
130134
str
@@ -492,9 +496,13 @@ def write_html(
492496
validate: bool (default True)
493497
True if the figure should be validated before being converted to
494498
JSON, False otherwise.
495-
auto_open: bool (default True
499+
auto_open: bool (default True)
496500
If True, open the saved file in a web browser after saving.
497501
This argument only applies if `full_html` is True.
502+
div_id: str (default None)
503+
If provided, this is the value of the id attribute of the div tag. If None, the
504+
id attribute is a UUID.
505+
498506
Returns
499507
-------
500508
str
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# DO NOT EDIT
22
# This file is generated by the updatebundle setup.py command
3-
__plotlyjs_version__ = "2.8.1"
3+
__plotlyjs_version__ = "2.8.3"

‎packages/python/plotly/plotly/package_data/plotly.min.js

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/package_data/plotly.min.js
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.