Skip to content

Commit 8db8a63

Browse files
authored
Merge branch 'master' into remove-requirejs
2 parents fa4bba0 + 673c19c commit 8db8a63

File tree

15 files changed

+48
-50
lines changed

15 files changed

+48
-50
lines changed

Diff for: CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
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
5+
## [5.24.1] - 2024-09-12
66

77
### Updated
88

9-
- Updated Plotly.js from version 2.35.0 to version 2.35.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2351----2024-09-09) for more information.
9+
- 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.
1010

1111
## [5.24.0] - 2024-08-29
1212

Diff for: LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2018 Plotly, Inc
3+
Copyright (c) 2016-2024 Plotly, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
## Quickstart
4242

43-
`pip install plotly==5.24.0`
43+
`pip install plotly==5.24.1`
4444

4545
Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "jupyterlab>=3" "ipywidgets>=7.6"`):
4646

@@ -85,13 +85,13 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
8585
plotly.py may be installed using pip...
8686

8787
```
88-
pip install plotly==5.24.0
88+
pip install plotly==5.24.1
8989
```
9090

9191
or conda.
9292

9393
```
94-
conda install -c plotly plotly=5.24.0
94+
conda install -c plotly plotly=5.24.1
9595
```
9696

9797
### JupyterLab Support
@@ -113,7 +113,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**,
113113

114114
```
115115
# JupyterLab 2.x renderer support
116-
jupyter labextension install [email protected].0 @jupyter-widgets/jupyterlab-manager
116+
jupyter labextension install [email protected].1 @jupyter-widgets/jupyterlab-manager
117117
```
118118

119119
Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab.

Diff for: binder/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
jupytext
2-
plotly==5.24.0
2+
plotly==5.24.1
33
jupyter
44
notebook
55
pandas==2.2.2

Diff for: doc/apidoc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# The short X.Y version
2727
version = ""
2828
# The full version, including alpha/beta/rc tags
29-
release = "5.24.0"
29+
release = "5.24.1"
3030

3131

3232
# -- General configuration ---------------------------------------------------

Diff for: doc/python/getting-started.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ We also encourage you to join the [Plotly Community Forum](http://community.plot
5858
`plotly` may be installed using `pip`:
5959

6060
```
61-
$ pip install plotly==5.24.0
61+
$ pip install plotly==5.24.1
6262
```
6363

6464
or `conda`:
6565

6666
```
67-
$ conda install -c plotly plotly=5.24.0
67+
$ conda install -c plotly plotly=5.24.1
6868
```
6969
This package contains everything you need to write figures to standalone HTML files.
7070

@@ -152,7 +152,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**,
152152

153153
```
154154
# JupyterLab 2.x renderer support
155-
jupyter labextension install [email protected].0 @jupyter-widgets/jupyterlab-manager
155+
jupyter labextension install [email protected].1 @jupyter-widgets/jupyterlab-manager
156156
```
157157

158158
Please check out our [Troubleshooting guide](/python/troubleshooting/) if you run into any problems with JupyterLab, particularly if you are using multiple python environments inside Jupyter.

Diff for: doc/python/renderers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ The `plotly_mimetype` renderer creates a specification of the figure (called a M
164164
These are aliases for `plotly_mimetype` since this renderer is a good choice when working in JupyterLab, nteract, and the Visual Studio Code notebook interface. Note that in VSCode Notebooks, the version of Plotly.js that is used to render is provided by the [vscode-python extension](https://code.visualstudio.com/docs/languages/python) and often trails the latest version by several weeks, so the latest features of `plotly` may not be available in VSCode right away. The situation is similar for Nteract.
165165

166166
##### Static Image Renderers
167-
A set of renderers is provided for displaying figures as static images. These renderers all rely on the [orca](https://github.com/plotly/orca) static image export utility. See the [Static Image Export](https://plot.ly/python/static-image-export/) page for more information on getting set up with [orca].
167+
A set of renderers is provided for displaying figures as static images. See the [Static Image Export](https://plot.ly/python/static-image-export/) page for more information on getting set up.
168168

169169
###### `png`, `jpeg`, and `svg`
170170
These renderers display figures as static `.png`, `.jpeg`, and `.svg` files, respectively. These renderers are useful for user interfaces that do not support inline HTML output, but do support inline static images. Examples include the [QtConsole](https://qtconsole.readthedocs.io/en/stable/), [Spyder](https://www.spyder-ide.org/), and the PyCharm [notebook interface](https://www.jetbrains.com/help/pycharm/jupyter-notebook-support.html).

Diff for: doc/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
plotly==5.24.0
1+
plotly==5.24.1
22
jupytext==1.1.1
33
ipywidgets==7.7.2
44
jupyter-client<7

Diff for: packages/javascript/jupyterlab-plotly/package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: packages/javascript/jupyterlab-plotly/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-plotly",
3-
"version": "5.24.0",
3+
"version": "5.24.1",
44
"description": "The plotly Jupyter extension",
55
"author": "The plotly.py team",
66
"license": "MIT",
@@ -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.35.1"
68+
"plotly.js": "^2.35.2"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

Diff for: packages/python/plotly/plotly/_widget_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# for automated dev builds
33
#
44
# It is edited by hand prior to official releases
5-
__frontend_version__ = "^5.24.0"
5+
__frontend_version__ = "^5.24.1"

Diff for: packages/python/plotly/plotly/express/_chart_types.py

+11-11
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def line(
258258
height=None,
259259
) -> go.Figure:
260260
"""
261-
In a 2D line plot, each row of `data_frame` is represented as vertex of
261+
In a 2D line plot, each row of `data_frame` is represented as a vertex of
262262
a polyline mark in 2D space.
263263
"""
264264
return make_figure(args=locals(), constructor=go.Scatter)
@@ -309,8 +309,8 @@ def area(
309309
) -> go.Figure:
310310
"""
311311
In a stacked area plot, each row of `data_frame` is represented as
312-
vertex of a polyline mark in 2D space. The area between successive
313-
polylines is filled.
312+
a vertex of a polyline mark in 2D space. The area between
313+
successive polylines is filled.
314314
"""
315315
return make_figure(
316316
args=locals(),
@@ -821,7 +821,7 @@ def line_3d(
821821
height=None,
822822
) -> go.Figure:
823823
"""
824-
In a 3D line plot, each row of `data_frame` is represented as vertex of
824+
In a 3D line plot, each row of `data_frame` is represented as a vertex of
825825
a polyline mark in 3D space.
826826
"""
827827
return make_figure(args=locals(), constructor=go.Scatter3d)
@@ -902,7 +902,7 @@ def line_ternary(
902902
) -> go.Figure:
903903
"""
904904
In a ternary line plot, each row of `data_frame` is represented as
905-
vertex of a polyline mark in ternary coordinates.
905+
a vertex of a polyline mark in ternary coordinates.
906906
"""
907907
return make_figure(args=locals(), constructor=go.Scatterternary)
908908

@@ -992,8 +992,8 @@ def line_polar(
992992
height=None,
993993
) -> go.Figure:
994994
"""
995-
In a polar line plot, each row of `data_frame` is represented as vertex
996-
of a polyline mark in polar coordinates.
995+
In a polar line plot, each row of `data_frame` is represented as a
996+
vertex of a polyline mark in polar coordinates.
997997
"""
998998
return make_figure(args=locals(), constructor=go.Scatterpolar)
999999

@@ -1199,7 +1199,7 @@ def line_geo(
11991199
) -> go.Figure:
12001200
"""
12011201
In a geographic line plot, each row of `data_frame` is represented as
1202-
vertex of a polyline mark on a map.
1202+
a vertex of a polyline mark on a map.
12031203
"""
12041204
return make_figure(
12051205
args=locals(),
@@ -1314,7 +1314,7 @@ def density_map(
13141314
) -> go.Figure:
13151315
"""
13161316
In a density map, each row of `data_frame` contributes to the intensity of
1317-
the color of the region around the corresponding point on the map
1317+
the color of the region around the corresponding point on the map.
13181318
"""
13191319
return make_figure(
13201320
args=locals(), constructor=go.Densitymap, trace_patch=dict(radius=radius)
@@ -1350,7 +1350,7 @@ def line_map(
13501350
) -> go.Figure:
13511351
"""
13521352
In a line map, each row of `data_frame` is represented as
1353-
vertex of a polyline mark on the map.
1353+
a vertex of a polyline mark on the map.
13541354
"""
13551355
return make_figure(args=locals(), constructor=go.Scattermap)
13561356

@@ -1497,7 +1497,7 @@ def line_mapbox(
14971497
) -> go.Figure:
14981498
"""
14991499
In a Mapbox line plot, each row of `data_frame` is represented as
1500-
vertex of a polyline mark on a Mapbox map.
1500+
a vertex of a polyline mark on a Mapbox map.
15011501
"""
15021502
return make_figure(args=locals(), constructor=go.Scattermapbox)
15031503

+1-1
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.35.1"
3+
__plotlyjs_version__ = "2.35.2"

Diff for: packages/python/plotly/plotly/package_data/plotly.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: test/percy/plotly-express.py

+8-10
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384

385385

386386
carshare = px.data.carshare()
387-
fig = px.scatter_mapbox(
387+
fig = px.scatter_map(
388388
carshare,
389389
lat="centroid_lat",
390390
lon="centroid_lon",
@@ -394,14 +394,12 @@
394394
size_max=15,
395395
zoom=10,
396396
)
397-
fig.write_html(os.path.join(dir_name, "scatter_mapbox.html"))
397+
fig.write_html(os.path.join(dir_name, "scatter_map.html"))
398398

399399

400400
carshare = px.data.carshare()
401-
fig = px.line_mapbox(
402-
carshare, lat="centroid_lat", lon="centroid_lon", color="peak_hour"
403-
)
404-
fig.write_html(os.path.join(dir_name, "line_mapbox.html"))
401+
fig = px.line_map(carshare, lat="centroid_lat", lon="centroid_lon", color="peak_hour")
402+
fig.write_html(os.path.join(dir_name, "line_map.html"))
405403

406404

407405
sample_geojson = {
@@ -419,23 +417,23 @@
419417
}
420418
],
421419
}
422-
fig = px.choropleth_mapbox(
420+
fig = px.choropleth_map(
423421
geojson=sample_geojson,
424422
locations=["the_polygon"],
425423
color=[10],
426424
zoom=6,
427425
)
428-
fig.write_html(os.path.join(dir_name, "choropleth_mapbox.html"), auto_play=False)
426+
fig.write_html(os.path.join(dir_name, "choropleth_map.html"), auto_play=False)
429427

430428

431429
carshare = px.data.carshare()
432-
fig = px.density_mapbox(
430+
fig = px.density_map(
433431
carshare,
434432
lat="centroid_lat",
435433
lon="centroid_lon",
436434
z="peak_hour",
437435
)
438-
fig.write_html(os.path.join(dir_name, "density_mapbox.html"), auto_play=False)
436+
fig.write_html(os.path.join(dir_name, "density_map.html"), auto_play=False)
439437

440438

441439
gapminder = px.data.gapminder()

0 commit comments

Comments
 (0)