Skip to content

Commit 99abf13

Browse files
committed
581a dry colors - choropleth
1 parent 4aed9b4 commit 99abf13

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/traces/choropleth/attributes.js

+2-9
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var extendFlat = require('../../lib/extend').extendFlat;
1515

1616
var ScatterGeoMarkerLineAttrs = ScatterGeoAttrs.marker.line;
1717

18-
module.exports = {
18+
module.exports = extendFlat({}, colorscaleAttrs, {
1919
locations: {
2020
valType: 'data_array',
2121
description: [
@@ -38,17 +38,10 @@ module.exports = {
3838
width: ScatterGeoMarkerLineAttrs.width
3939
}
4040
},
41-
zauto: colorscaleAttrs.zauto,
42-
zmin: colorscaleAttrs.zmin,
43-
zmax: colorscaleAttrs.zmax,
44-
colorscale: colorscaleAttrs.colorscale,
45-
autocolorscale: colorscaleAttrs.autocolorscale,
46-
reversescale: colorscaleAttrs.reversescale,
47-
showscale: colorscaleAttrs.showscale,
4841
hoverinfo: extendFlat({}, plotAttrs.hoverinfo, {
4942
flags: ['location', 'z', 'text', 'name']
5043
}),
5144
_nestedModules: {
5245
'colorbar': 'Colorbar'
5346
}
54-
};
47+
});

0 commit comments

Comments
 (0)