Skip to content

Commit 91e0319

Browse files
committed
add dflt to choropleth marker.line.color
... and update choropleth baselines that didn't show the "correct" default "black"
1 parent 43c568f commit 91e0319

13 files changed

+2
-1
lines changed

src/traces/choropleth/attributes.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var hovertemplateAttrs = require('../../components/fx/hovertemplate_attributes')
1212
var scatterGeoAttrs = require('../scattergeo/attributes');
1313
var colorScaleAttrs = require('../../components/colorscale/attributes');
1414
var plotAttrs = require('../../plots/attributes');
15+
var defaultLine = require('../../components/color/attributes').defaultLine;
1516

1617
var extendFlat = require('../../lib/extend').extendFlat;
1718

@@ -40,7 +41,7 @@ module.exports = extendFlat({
4041
}),
4142
marker: {
4243
line: {
43-
color: scatterGeoMarkerLineAttrs.color,
44+
color: extendFlat({}, scatterGeoMarkerLineAttrs.color, {dflt: defaultLine}),
4445
width: extendFlat({}, scatterGeoMarkerLineAttrs.width, {dflt: 1}),
4546
editType: 'calc'
4647
},
16 Bytes
Loading
80 Bytes
Loading
-1.01 KB
Loading
-669 Bytes
Loading
-1.84 KB
Loading
279 Bytes
Loading

test/image/baselines/geo_first.png

-252 Bytes
Loading
1.42 KB
Loading
Loading
-1.23 KB
Loading
-22 Bytes
Loading
-181 Bytes
Loading

0 commit comments

Comments
 (0)