You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,21 @@
2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
+
### Removed
6
+
- Drop deprecated `pointcloud` and `heatmapgl` traces from the API
7
+
- Drop `tenacity` dependency [#4831](https://github.com/plotly/plotly.js/pull/4831)
8
+
5
9
### Updated
6
10
7
-
- Updated plotly.py to use base64 encoding of arrays in plotly JSON to improve performance.
11
+
- Updated plotly.py to use base64 encoding of arrays in plotly JSON to improve performance.
12
+
- Add `subtitle` attribute to all Plotly Express traces
13
+
- Make plotly-express dataframe agnostic via Narwhals [#4790](https://github.com/plotly/plotly.py/pull/4790)
8
14
9
15
## [5.24.1] - 2024-09-12
10
16
11
17
### Updated
12
18
13
-
- Updated Plotly.js from version 2.35.0 to version 2.35.2. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2352----2024-09-10) for more information.
19
+
- Updated Plotly.js from version 2.35.0 to version 3.0.0-rc.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2352----2024-11-11) for more information.
14
20
15
21
## [5.24.0] - 2024-08-29
16
22
@@ -25,6 +31,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
25
31
26
32
- Fixed a bug in integer validation of arrays that threw an error when an array contained a mix of strings and integers.
27
33
34
+
- Fixed a bug in JupyterLab >= 4 and Jupyter Notebook >= 7 that caused latex to not render in plotly charts.
35
+
36
+
- Use modern [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) to load plotly.js bundle instead of requirejs which is [no longer under active development](https://github.com/requirejs/r.js/compare/2.3.6...2.3.7)
Copy file name to clipboardExpand all lines: README.md
+7-58Lines changed: 7 additions & 58 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,13 +37,10 @@
37
37
</a>
38
38
</div>
39
39
40
-
41
40
## Quickstart
42
41
43
42
`pip install plotly==5.24.1`
44
43
45
-
Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "jupyterlab>=3" "ipywidgets>=7.6"`):
46
-
47
44
```python
48
45
import plotly.express as px
49
46
fig = px.bar(x=["a", "b", "c"], y=[1, 3, 2])
@@ -52,7 +49,6 @@ fig.show()
52
49
53
50
See the [Python documentation](https://plotly.com/python/) for more examples.
54
51
55
-
56
52
## Overview
57
53
58
54
[plotly.py](https://plotly.com/python/) is an interactive, open-source, and browser-based graphing library for Python :sparkles:
@@ -82,7 +78,7 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
82
78
83
79
## Installation
84
80
85
-
plotly.py may be installed using pip...
81
+
plotly.py may be installed using pip
86
82
87
83
```
88
84
pip install plotly==5.24.1
@@ -94,43 +90,19 @@ or conda.
94
90
conda install -c plotly plotly=5.24.1
95
91
```
96
92
97
-
### JupyterLab Support
93
+
### Jupyter Widget Support
98
94
99
-
For use in [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/), install the `jupyterlab` and `ipywidgets`
95
+
For use as a Jupyter widget, install `jupyter` and `anywidget`
100
96
packages using `pip`:
101
97
102
98
```
103
-
pip install "jupyterlab>=3" "ipywidgets>=7.6"
99
+
pip install jupyter anywidget
104
100
```
105
101
106
102
or `conda`:
107
103
108
104
```
109
-
conda install "jupyterlab>=3" "ipywidgets>=7.6"
110
-
```
111
-
112
-
The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**, run the following commands to install the required JupyterLab extensions (note that this will require [`node`](https://nodejs.org/) to be installed):
0 commit comments