Skip to content

Commit a1ea0bc

Browse files
committed
find & replace mapnew > map
1 parent 5f0e9e7 commit a1ea0bc

File tree

88 files changed

+874
-874
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+874
-874
lines changed

.circleci/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ case $1 in
9696
SUITE=$({\
9797
find $ROOT/test/image/mocks/gl* -type f -printf "%f\n"; \
9898
find $ROOT/test/image/mocks/mapbox* -type f -printf "%f\n"; \
99-
find $ROOT/test/image/mocks/mapnew* -type f -printf "%f\n"; \
99+
find $ROOT/test/image/mocks/map* -type f -printf "%f\n"; \
100100
} | sed 's/\.json$//1' | circleci tests split)
101101
python3 test/image/make_baseline.py virtual-webgl $SUITE || EXIT_STATE=$?
102102
exit $EXIT_STATE

lib/choroplethmapnew.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
'use strict';
22

3-
module.exports = require('../src/traces/choroplethmapnew');
3+
module.exports = require('../src/traces/choroplethmap');

lib/densitymapnew.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
'use strict';
22

3-
module.exports = require('../src/traces/densitymapnew');
3+
module.exports = require('../src/traces/densitymap');

lib/index-mapnew.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ var Plotly = require('./core');
44

55
Plotly.register([
66
// traces
7-
require('./scattermapnew'),
8-
require('./choroplethmapnew'),
9-
require('./densitymapnew'),
7+
require('./scattermap'),
8+
require('./choroplethmap'),
9+
require('./densitymap'),
1010

1111
// transforms
1212
require('./aggregate'),

lib/index-strict.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ Plotly.register([
3939
require('./scattermapbox'),
4040
require('./choroplethmapbox'),
4141
require('./densitymapbox'),
42-
require('./scattermapnew'),
43-
require('./choroplethmapnew'),
44-
require('./densitymapnew'),
42+
require('./scattermap'),
43+
require('./choroplethmap'),
44+
require('./densitymap'),
4545
require('./sankey'),
4646
require('./indicator'),
4747
require('./table'),

lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ Plotly.register([
3939
require('./scattermapbox'),
4040
require('./choroplethmapbox'),
4141
require('./densitymapbox'),
42-
require('./scattermapnew'),
43-
require('./choroplethmapnew'),
44-
require('./densitymapnew'),
42+
require('./scattermap'),
43+
require('./choroplethmap'),
44+
require('./densitymap'),
4545
require('./sankey'),
4646
require('./indicator'),
4747
require('./table'),

lib/scattermapnew.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
'use strict';
22

3-
module.exports = require('../src/traces/scattermapnew');
3+
module.exports = require('../src/traces/scattermap');

src/components/fx/hover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ function getHoverLabelText(d, showCommonLabel, hovermode, fullLayout, t0, g) {
15641564
if(
15651565
d.trace.type !== 'choropleth' &&
15661566
d.trace.type !== 'choroplethmapbox' &&
1567-
d.trace.type !== 'choroplethmapnew'
1567+
d.trace.type !== 'choroplethmap'
15681568
) {
15691569
text += (text ? 'z: ' : '') + d.zLabel;
15701570
}

src/components/fx/layout_defaults.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
1919
var dragMode = coerce('dragmode');
2020
if(dragMode === 'select') coerce('selectdirection');
2121

22-
// if only mapbox, mapnew or geo subplots is present on graph,
22+
// if only mapbox, map or geo subplots is present on graph,
2323
// reset 'zoom' dragmode to 'pan' until 'zoom' is implemented,
2424
// so that the correct modebar button is active
25-
var hasMap = layoutOut._has('mapbox') || layoutOut._has('mapnew');
25+
var hasMap = layoutOut._has('mapbox') || layoutOut._has('map');
2626
var hasGeo = layoutOut._has('geo');
2727
var len = layoutOut._basePlotModules.length;
2828

src/components/legend/style.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,14 +542,14 @@ module.exports = function style(s, gd, legend) {
542542
break;
543543
case 'choropleth' :
544544
case 'choroplethmapbox' :
545-
case 'choroplethmapnew' :
545+
case 'choroplethmap' :
546546
ptsData = [
547547
['M-6,-6V6H6V-6Z']
548548
];
549549
useGradient = true;
550550
break;
551551
case 'densitymapbox' :
552-
case 'densitymapnew' :
552+
case 'densitymap' :
553553
ptsData = [
554554
['M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0']
555555
];

0 commit comments

Comments
 (0)