Skip to content

Commit 946590f

Browse files
committed
Merge with master
2 parents bee13cd + 972a59d commit 946590f

File tree

13 files changed

+199
-823
lines changed

13 files changed

+199
-823
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1515

1616
### Updated
1717

18-
- 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.
18+
- 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.
1919

2020
## [5.24.0] - 2024-08-29
2121

doc/python/migrate-to-maplibre.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jupyter:
3030
order: 1
3131
page_type: u-guide
3232
permalink: python/mapbox-to-maplibre/
33+
redirect_from: python/maplibre-migration/
3334
thumbnail: thumbnail/mapbox-layers.png
3435
---
3536

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

+6-661
Large diffs are not rendered by default.

packages/python/plotly/plotly/graph_objs/_choroplethmapbox.py

+10-6
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,7 @@ def subplot(self):
12481248
"""
12491249
mapbox subplots and traces are deprecated! Please consider
12501250
switching to `map` subplots and traces. Learn more at:
1251+
https://plotly.com/python/maplibre-migration/ as well as
12511252
https://plotly.com/javascript/maplibre-migration/ Sets a
12521253
reference between this trace's data coordinates and a mapbox
12531254
subplot. If "mapbox" (the default value), the data refer to
@@ -1745,7 +1746,8 @@ def _prop_descriptions(self):
17451746
subplot
17461747
mapbox subplots and traces are deprecated! Please
17471748
consider switching to `map` subplots and traces. Learn
1748-
more at: https://plotly.com/javascript/maplibre-
1749+
more at: https://plotly.com/python/maplibre-migration/
1750+
as well as https://plotly.com/javascript/maplibre-
17491751
migration/ Sets a reference between this trace's data
17501752
coordinates and a mapbox subplot. If "mapbox" (the
17511753
default value), the data refer to `layout.mapbox`. If
@@ -1869,10 +1871,11 @@ def __init__(
18691871
18701872
"choroplethmapbox" trace is deprecated! Please consider
18711873
switching to the "choroplethmap" trace type and `map` subplots.
1872-
Learn more at: https://plotly.com/javascript/maplibre-
1873-
migration/ GeoJSON features to be filled are set in `geojson`
1874-
The data that describes the choropleth value-to-color mapping
1875-
is set in `locations` and `z`.
1874+
Learn more at: https://plotly.com/python/maplibre-migration/ as
1875+
well as https://plotly.com/javascript/maplibre-migration/
1876+
GeoJSON features to be filled are set in `geojson` The data
1877+
that describes the choropleth value-to-color mapping is set in
1878+
`locations` and `z`.
18761879
18771880
Parameters
18781881
----------
@@ -2070,7 +2073,8 @@ def __init__(
20702073
subplot
20712074
mapbox subplots and traces are deprecated! Please
20722075
consider switching to `map` subplots and traces. Learn
2073-
more at: https://plotly.com/javascript/maplibre-
2076+
more at: https://plotly.com/python/maplibre-migration/
2077+
as well as https://plotly.com/javascript/maplibre-
20742078
migration/ Sets a reference between this trace's data
20752079
coordinates and a mapbox subplot. If "mapbox" (the
20762080
default value), the data refer to `layout.mapbox`. If

packages/python/plotly/plotly/graph_objs/_densitymapbox.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,7 @@ def subplot(self):
12211221
"""
12221222
mapbox subplots and traces are deprecated! Please consider
12231223
switching to `map` subplots and traces. Learn more at:
1224+
https://plotly.com/python/maplibre-migration/ as well as
12241225
https://plotly.com/javascript/maplibre-migration/ Sets a
12251226
reference between this trace's data coordinates and a mapbox
12261227
subplot. If "mapbox" (the default value), the data refer to
@@ -1689,7 +1690,8 @@ def _prop_descriptions(self):
16891690
subplot
16901691
mapbox subplots and traces are deprecated! Please
16911692
consider switching to `map` subplots and traces. Learn
1692-
more at: https://plotly.com/javascript/maplibre-
1693+
more at: https://plotly.com/python/maplibre-migration/
1694+
as well as https://plotly.com/javascript/maplibre-
16931695
migration/ Sets a reference between this trace's data
16941696
coordinates and a mapbox subplot. If "mapbox" (the
16951697
default value), the data refer to `layout.mapbox`. If
@@ -1817,7 +1819,8 @@ def __init__(
18171819
18181820
"densitymapbox" trace is deprecated! Please consider switching
18191821
to the "densitymap" trace type and `map` subplots. Learn more
1820-
at: https://plotly.com/javascript/maplibre-migration/ Draws a
1822+
at: https://plotly.com/python/maplibre-migration/ as well as
1823+
https://plotly.com/javascript/maplibre-migration/ Draws a
18211824
bivariate kernel density estimation with a Gaussian kernel from
18221825
`lon` and `lat` coordinates and optional `z` values using a
18231826
colorscale.
@@ -2010,7 +2013,8 @@ def __init__(
20102013
subplot
20112014
mapbox subplots and traces are deprecated! Please
20122015
consider switching to `map` subplots and traces. Learn
2013-
more at: https://plotly.com/javascript/maplibre-
2016+
more at: https://plotly.com/python/maplibre-migration/
2017+
as well as https://plotly.com/javascript/maplibre-
20142018
migration/ Sets a reference between this trace's data
20152019
coordinates and a mapbox subplot. If "mapbox" (the
20162020
default value), the data refer to `layout.mapbox`. If

packages/python/plotly/plotly/graph_objs/_figure.py

+15-9
Original file line numberDiff line numberDiff line change
@@ -4311,10 +4311,11 @@ def add_choroplethmapbox(
43114311

43124312
"choroplethmapbox" trace is deprecated! Please consider
43134313
switching to the "choroplethmap" trace type and `map` subplots.
4314-
Learn more at: https://plotly.com/javascript/maplibre-
4315-
migration/ GeoJSON features to be filled are set in `geojson`
4316-
The data that describes the choropleth value-to-color mapping
4317-
is set in `locations` and `z`.
4314+
Learn more at: https://plotly.com/python/maplibre-migration/ as
4315+
well as https://plotly.com/javascript/maplibre-migration/
4316+
GeoJSON features to be filled are set in `geojson` The data
4317+
that describes the choropleth value-to-color mapping is set in
4318+
`locations` and `z`.
43184319

43194320
Parameters
43204321
----------
@@ -4508,7 +4509,8 @@ def add_choroplethmapbox(
45084509
subplot
45094510
mapbox subplots and traces are deprecated! Please
45104511
consider switching to `map` subplots and traces. Learn
4511-
more at: https://plotly.com/javascript/maplibre-
4512+
more at: https://plotly.com/python/maplibre-migration/
4513+
as well as https://plotly.com/javascript/maplibre-
45124514
migration/ Sets a reference between this trace's data
45134515
coordinates and a mapbox subplot. If "mapbox" (the
45144516
default value), the data refer to `layout.mapbox`. If
@@ -6549,7 +6551,8 @@ def add_densitymapbox(
65496551

65506552
"densitymapbox" trace is deprecated! Please consider switching
65516553
to the "densitymap" trace type and `map` subplots. Learn more
6552-
at: https://plotly.com/javascript/maplibre-migration/ Draws a
6554+
at: https://plotly.com/python/maplibre-migration/ as well as
6555+
https://plotly.com/javascript/maplibre-migration/ Draws a
65536556
bivariate kernel density estimation with a Gaussian kernel from
65546557
`lon` and `lat` coordinates and optional `z` values using a
65556558
colorscale.
@@ -6739,7 +6742,8 @@ def add_densitymapbox(
67396742
subplot
67406743
mapbox subplots and traces are deprecated! Please
67416744
consider switching to `map` subplots and traces. Learn
6742-
more at: https://plotly.com/javascript/maplibre-
6745+
more at: https://plotly.com/python/maplibre-migration/
6746+
as well as https://plotly.com/javascript/maplibre-
67436747
migration/ Sets a reference between this trace's data
67446748
coordinates and a mapbox subplot. If "mapbox" (the
67456749
default value), the data refer to `layout.mapbox`. If
@@ -16181,7 +16185,8 @@ def add_scattermapbox(
1618116185

1618216186
"scattermapbox" trace is deprecated! Please consider switching
1618316187
to the "scattermap" trace type and `map` subplots. Learn more
16184-
at: https://plotly.com/javascript/maplibre-migration/ The data
16188+
at: https://plotly.com/python/maplibre-migration/ as well as
16189+
https://plotly.com/javascript/maplibre-migration/ The data
1618516190
visualized as scatter point, lines or marker symbols on a
1618616191
Mapbox GL geographic map is provided by longitude/latitude
1618716192
pairs in `lon` and `lat`.
@@ -16364,7 +16369,8 @@ def add_scattermapbox(
1636416369
subplot
1636516370
mapbox subplots and traces are deprecated! Please
1636616371
consider switching to `map` subplots and traces. Learn
16367-
more at: https://plotly.com/javascript/maplibre-
16372+
more at: https://plotly.com/python/maplibre-migration/
16373+
as well as https://plotly.com/javascript/maplibre-
1636816374
migration/ Sets a reference between this trace's data
1636916375
coordinates and a mapbox subplot. If "mapbox" (the
1637016376
default value), the data refer to `layout.mapbox`. If

packages/python/plotly/plotly/graph_objs/_figurewidget.py

+15-9
Original file line numberDiff line numberDiff line change
@@ -4315,10 +4315,11 @@ def add_choroplethmapbox(
43154315

43164316
"choroplethmapbox" trace is deprecated! Please consider
43174317
switching to the "choroplethmap" trace type and `map` subplots.
4318-
Learn more at: https://plotly.com/javascript/maplibre-
4319-
migration/ GeoJSON features to be filled are set in `geojson`
4320-
The data that describes the choropleth value-to-color mapping
4321-
is set in `locations` and `z`.
4318+
Learn more at: https://plotly.com/python/maplibre-migration/ as
4319+
well as https://plotly.com/javascript/maplibre-migration/
4320+
GeoJSON features to be filled are set in `geojson` The data
4321+
that describes the choropleth value-to-color mapping is set in
4322+
`locations` and `z`.
43224323

43234324
Parameters
43244325
----------
@@ -4512,7 +4513,8 @@ def add_choroplethmapbox(
45124513
subplot
45134514
mapbox subplots and traces are deprecated! Please
45144515
consider switching to `map` subplots and traces. Learn
4515-
more at: https://plotly.com/javascript/maplibre-
4516+
more at: https://plotly.com/python/maplibre-migration/
4517+
as well as https://plotly.com/javascript/maplibre-
45164518
migration/ Sets a reference between this trace's data
45174519
coordinates and a mapbox subplot. If "mapbox" (the
45184520
default value), the data refer to `layout.mapbox`. If
@@ -6553,7 +6555,8 @@ def add_densitymapbox(
65536555

65546556
"densitymapbox" trace is deprecated! Please consider switching
65556557
to the "densitymap" trace type and `map` subplots. Learn more
6556-
at: https://plotly.com/javascript/maplibre-migration/ Draws a
6558+
at: https://plotly.com/python/maplibre-migration/ as well as
6559+
https://plotly.com/javascript/maplibre-migration/ Draws a
65576560
bivariate kernel density estimation with a Gaussian kernel from
65586561
`lon` and `lat` coordinates and optional `z` values using a
65596562
colorscale.
@@ -6743,7 +6746,8 @@ def add_densitymapbox(
67436746
subplot
67446747
mapbox subplots and traces are deprecated! Please
67456748
consider switching to `map` subplots and traces. Learn
6746-
more at: https://plotly.com/javascript/maplibre-
6749+
more at: https://plotly.com/python/maplibre-migration/
6750+
as well as https://plotly.com/javascript/maplibre-
67476751
migration/ Sets a reference between this trace's data
67486752
coordinates and a mapbox subplot. If "mapbox" (the
67496753
default value), the data refer to `layout.mapbox`. If
@@ -16185,7 +16189,8 @@ def add_scattermapbox(
1618516189

1618616190
"scattermapbox" trace is deprecated! Please consider switching
1618716191
to the "scattermap" trace type and `map` subplots. Learn more
16188-
at: https://plotly.com/javascript/maplibre-migration/ The data
16192+
at: https://plotly.com/python/maplibre-migration/ as well as
16193+
https://plotly.com/javascript/maplibre-migration/ The data
1618916194
visualized as scatter point, lines or marker symbols on a
1619016195
Mapbox GL geographic map is provided by longitude/latitude
1619116196
pairs in `lon` and `lat`.
@@ -16368,7 +16373,8 @@ def add_scattermapbox(
1636816373
subplot
1636916374
mapbox subplots and traces are deprecated! Please
1637016375
consider switching to `map` subplots and traces. Learn
16371-
more at: https://plotly.com/javascript/maplibre-
16376+
more at: https://plotly.com/python/maplibre-migration/
16377+
as well as https://plotly.com/javascript/maplibre-
1637216378
migration/ Sets a reference between this trace's data
1637316379
coordinates and a mapbox subplot. If "mapbox" (the
1637416380
default value), the data refer to `layout.mapbox`. If

packages/python/plotly/plotly/graph_objs/_scattermapbox.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,7 @@ def subplot(self):
11641164
"""
11651165
mapbox subplots and traces are deprecated! Please consider
11661166
switching to `map` subplots and traces. Learn more at:
1167+
https://plotly.com/python/maplibre-migration/ as well as
11671168
https://plotly.com/javascript/maplibre-migration/ Sets a
11681169
reference between this trace's data coordinates and a mapbox
11691170
subplot. If "mapbox" (the default value), the data refer to
@@ -1659,7 +1660,8 @@ def _prop_descriptions(self):
16591660
subplot
16601661
mapbox subplots and traces are deprecated! Please
16611662
consider switching to `map` subplots and traces. Learn
1662-
more at: https://plotly.com/javascript/maplibre-
1663+
more at: https://plotly.com/python/maplibre-migration/
1664+
as well as https://plotly.com/javascript/maplibre-
16631665
migration/ Sets a reference between this trace's data
16641666
coordinates and a mapbox subplot. If "mapbox" (the
16651667
default value), the data refer to `layout.mapbox`. If
@@ -1792,7 +1794,8 @@ def __init__(
17921794
17931795
"scattermapbox" trace is deprecated! Please consider switching
17941796
to the "scattermap" trace type and `map` subplots. Learn more
1795-
at: https://plotly.com/javascript/maplibre-migration/ The data
1797+
at: https://plotly.com/python/maplibre-migration/ as well as
1798+
https://plotly.com/javascript/maplibre-migration/ The data
17961799
visualized as scatter point, lines or marker symbols on a
17971800
Mapbox GL geographic map is provided by longitude/latitude
17981801
pairs in `lon` and `lat`.
@@ -1978,7 +1981,8 @@ def __init__(
19781981
subplot
19791982
mapbox subplots and traces are deprecated! Please
19801983
consider switching to `map` subplots and traces. Learn
1981-
more at: https://plotly.com/javascript/maplibre-
1984+
more at: https://plotly.com/python/maplibre-migration/
1985+
as well as https://plotly.com/javascript/maplibre-
19821986
migration/ Sets a reference between this trace's data
19831987
coordinates and a mapbox subplot. If "mapbox" (the
19841988
default value), the data refer to `layout.mapbox`. If
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__ = "plotly/plotly.js_master_2024-10-22_ef721c41"
3+
__plotlyjs_version__ = "3.0.0-rc.0"

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

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

packages/python/plotly/plotly/validators/_choroplethmapbox.py

+2
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ def __init__(self, plotly_name="choroplethmapbox", parent_name="", **kwargs):
229229
mapbox subplots and traces are deprecated!
230230
Please consider switching to `map` subplots and
231231
traces. Learn more at:
232+
https://plotly.com/python/maplibre-migration/
233+
as well as
232234
https://plotly.com/javascript/maplibre-
233235
migration/ Sets a reference between this
234236
trace's data coordinates and a mapbox subplot.

packages/python/plotly/plotly/validators/_densitymapbox.py

+2
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ def __init__(self, plotly_name="densitymapbox", parent_name="", **kwargs):
220220
mapbox subplots and traces are deprecated!
221221
Please consider switching to `map` subplots and
222222
traces. Learn more at:
223+
https://plotly.com/python/maplibre-migration/
224+
as well as
223225
https://plotly.com/javascript/maplibre-
224226
migration/ Sets a reference between this
225227
trace's data coordinates and a mapbox subplot.

packages/python/plotly/plotly/validators/_scattermapbox.py

+2
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ def __init__(self, plotly_name="scattermapbox", parent_name="", **kwargs):
213213
mapbox subplots and traces are deprecated!
214214
Please consider switching to `map` subplots and
215215
traces. Learn more at:
216+
https://plotly.com/python/maplibre-migration/
217+
as well as
216218
https://plotly.com/javascript/maplibre-
217219
migration/ Sets a reference between this
218220
trace's data coordinates and a mapbox subplot.

0 commit comments

Comments
 (0)