Skip to content

Commit 85e3f73

Browse files
authoredOct 31, 2024··
Merge pull request #7260 from plotly/add-pylink4mapbox-migration
also provide a link to python migration from mapbox page
2 parents 089be4c + 3b3c3ab commit 85e3f73

File tree

12 files changed

+20
-16
lines changed

12 files changed

+20
-16
lines changed
 

‎draftlogs/7124_change.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
- Update esbuild to v23.1; Node v18 required for development [[#7116](https://github.com/plotly/plotly.js/pull/7124)]
1+
- Node v18 required for development [[#7116](https://github.com/plotly/plotly.js/pull/7124)]
22

‎draftlogs/7215_remove.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Drop support for deprecated `annotation.ref` attribute (use `annotation.xref` and `annotation.yref` instead) [[#7215](https://github.com/plotly/plotly.js/pull/7215)]
1+
- Drop support for deprecated `annotation.ref` attribute (use `annotation.xref` and `annotation.yref` instead) [[#7215](https://github.com/plotly/plotly.js/pull/7215)]

‎draftlogs/7216_remove.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Drop support for deprecated error bar `opacity` attribute (use alpha channel of error bar `color` attribute instead) [[#7214](https://github.com/plotly/plotly.js/pull/7216)]
1+
- Drop support for deprecated error bar `opacity` attribute (use alpha channel of error bar `color` attribute instead) [[#7214](https://github.com/plotly/plotly.js/pull/7216)]

‎draftlogs/7217_remove.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Drop support for deprecated attribute `gl3d.cameraposition` (use `gl3d.camera` instead) [[#7217](https://github.com/plotly/plotly.js/pull/7217)]
1+
- Drop support for deprecated attribute `gl3d.cameraposition` (use `gl3d.camera` instead) [[#7217](https://github.com/plotly/plotly.js/pull/7217)]

‎draftlogs/7236_remove.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
- Drop deprecated autotick attributes from cartesian and gl3d axes [[#7236](https://github.com/plotly/plotly.js/pull/7236)]
1+
- Drop deprecated autotick attributes from cartesian axes [[#7236](https://github.com/plotly/plotly.js/pull/7236)]

‎draftlogs/7248_fix.md

-1
This file was deleted.

‎draftlogs/7260_change.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Deprecate mapbox traces and provide link to migration docs [[#7260](https://github.com/plotly/plotly.js/pull/7260)]

‎src/plots/mapbox/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ exports.idRegex = exports.attrRegex = Lib.counterRegex(MAPBOX);
2828
var deprecationWarning = [
2929
'mapbox subplots and traces are deprecated!',
3030
'Please consider switching to `map` subplots and traces.',
31-
'Learn more at: https://plotly.com/javascript/maplibre-migration/'
31+
'Learn more at: https://plotly.com/python/maplibre-migration/',
32+
'as well as https://plotly.com/javascript/maplibre-migration/'
3233
].join(' ');
3334

3435
exports.attributes = {

‎src/traces/choroplethmapbox/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
var deprecationWarning = [
44
'*choroplethmapbox* trace is deprecated!',
55
'Please consider switching to the *choroplethmap* trace type and `map` subplots.',
6-
'Learn more at: https://plotly.com/javascript/maplibre-migration/'
6+
'Learn more at: https://plotly.com/python/maplibre-migration/',
7+
'as well as https://plotly.com/javascript/maplibre-migration/'
78
].join(' ');
89

910
module.exports = {

‎src/traces/densitymapbox/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
var deprecationWarning = [
44
'*densitymapbox* trace is deprecated!',
55
'Please consider switching to the *densitymap* trace type and `map` subplots.',
6-
'Learn more at: https://plotly.com/javascript/maplibre-migration/'
6+
'Learn more at: https://plotly.com/python/maplibre-migration/',
7+
'as well as https://plotly.com/javascript/maplibre-migration/'
78
].join(' ');
89

910
module.exports = {

‎src/traces/scattermapbox/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
var deprecationWarning = [
44
'*scattermapbox* trace is deprecated!',
55
'Please consider switching to the *scattermap* trace type and `map` subplots.',
6-
'Learn more at: https://plotly.com/javascript/maplibre-migration/'
6+
'Learn more at: https://plotly.com/python/maplibre-migration/',
7+
'as well as https://plotly.com/javascript/maplibre-migration/'
78
].join(' ');
89

910
module.exports = {

‎test/plot-schema.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -27849,7 +27849,7 @@
2784927849
}
2785027850
},
2785127851
"subplot": {
27852-
"description": "mapbox subplots and traces are deprecated! Please consider switching to `map` subplots and traces. Learn more at: https://plotly.com/javascript/maplibre-migration/ Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on.",
27852+
"description": "mapbox subplots and traces are deprecated! Please consider switching to `map` subplots and traces. Learn more at: https://plotly.com/python/maplibre-migration/ as well as https://plotly.com/javascript/maplibre-migration/ Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on.",
2785327853
"dflt": "mapbox",
2785427854
"editType": "calc",
2785527855
"valType": "subplotid"
@@ -27953,7 +27953,7 @@
2795327953
"showLegend"
2795427954
],
2795527955
"meta": {
27956-
"description": "*choroplethmapbox* trace is deprecated! Please consider switching to the *choroplethmap* trace type and `map` subplots. Learn more at: https://plotly.com/javascript/maplibre-migration/ GeoJSON features to be filled are set in `geojson` The data that describes the choropleth value-to-color mapping is set in `locations` and `z`.",
27956+
"description": "*choroplethmapbox* trace is deprecated! Please consider switching to the *choroplethmap* trace type and `map` subplots. Learn more at: https://plotly.com/python/maplibre-migration/ as well as https://plotly.com/javascript/maplibre-migration/ GeoJSON features to be filled are set in `geojson` The data that describes the choropleth value-to-color mapping is set in `locations` and `z`.",
2795727957
"hr_name": "choropleth_mapbox"
2795827958
},
2795927959
"type": "choroplethmapbox"
@@ -34722,7 +34722,7 @@
3472234722
}
3472334723
},
3472434724
"subplot": {
34725-
"description": "mapbox subplots and traces are deprecated! Please consider switching to `map` subplots and traces. Learn more at: https://plotly.com/javascript/maplibre-migration/ Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on.",
34725+
"description": "mapbox subplots and traces are deprecated! Please consider switching to `map` subplots and traces. Learn more at: https://plotly.com/python/maplibre-migration/ as well as https://plotly.com/javascript/maplibre-migration/ Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on.",
3472634726
"dflt": "mapbox",
3472734727
"editType": "calc",
3472834728
"valType": "subplotid"
@@ -34810,7 +34810,7 @@
3481034810
"showLegend"
3481134811
],
3481234812
"meta": {
34813-
"description": "*densitymapbox* trace is deprecated! Please consider switching to the *densitymap* trace type and `map` subplots. Learn more at: https://plotly.com/javascript/maplibre-migration/ Draws a bivariate kernel density estimation with a Gaussian kernel from `lon` and `lat` coordinates and optional `z` values using a colorscale.",
34813+
"description": "*densitymapbox* trace is deprecated! Please consider switching to the *densitymap* trace type and `map` subplots. Learn more at: https://plotly.com/python/maplibre-migration/ as well as https://plotly.com/javascript/maplibre-migration/ Draws a bivariate kernel density estimation with a Gaussian kernel from `lon` and `lat` coordinates and optional `z` values using a colorscale.",
3481434814
"hr_name": "density_mapbox"
3481534815
},
3481634816
"type": "densitymapbox"
@@ -73720,7 +73720,7 @@
7372073720
}
7372173721
},
7372273722
"subplot": {
73723-
"description": "mapbox subplots and traces are deprecated! Please consider switching to `map` subplots and traces. Learn more at: https://plotly.com/javascript/maplibre-migration/ Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on.",
73723+
"description": "mapbox subplots and traces are deprecated! Please consider switching to `map` subplots and traces. Learn more at: https://plotly.com/python/maplibre-migration/ as well as https://plotly.com/javascript/maplibre-migration/ Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on.",
7372473724
"dflt": "mapbox",
7372573725
"editType": "calc",
7372673726
"valType": "subplotid"
@@ -73868,7 +73868,7 @@
7386873868
"scatter-like"
7386973869
],
7387073870
"meta": {
73871-
"description": "*scattermapbox* trace is deprecated! Please consider switching to the *scattermap* trace type and `map` subplots. Learn more at: https://plotly.com/javascript/maplibre-migration/ The data visualized as scatter point, lines or marker symbols on a Mapbox GL geographic map is provided by longitude/latitude pairs in `lon` and `lat`.",
73871+
"description": "*scattermapbox* trace is deprecated! Please consider switching to the *scattermap* trace type and `map` subplots. Learn more at: https://plotly.com/python/maplibre-migration/ as well as https://plotly.com/javascript/maplibre-migration/ The data visualized as scatter point, lines or marker symbols on a Mapbox GL geographic map is provided by longitude/latitude pairs in `lon` and `lat`.",
7387273872
"hrName": "scatter_mapbox"
7387373873
},
7387473874
"type": "scattermapbox"

0 commit comments

Comments
 (0)
Please sign in to comment.