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

Diff for: 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
},

Diff for: test/image/baselines/geo_across-antimeridian.png

16 Bytes
Loading

Diff for: test/image/baselines/geo_africa-insets.png

80 Bytes
Loading

Diff for: test/image/baselines/geo_choropleth-text.png

-1.01 KB
Loading

Diff for: test/image/baselines/geo_choropleth-usa.png

-669 Bytes
Loading

Diff for: test/image/baselines/geo_country-names.png

-1.84 KB
Loading

Diff for: test/image/baselines/geo_custom-colorscale.png

279 Bytes
Loading

Diff for: test/image/baselines/geo_first.png

-252 Bytes
Loading

Diff for: test/image/baselines/geo_kavrayskiy7.png

1.42 KB
Loading
-1.19 KB
Loading

Diff for: test/image/baselines/geo_orthographic.png

-1.23 KB
Loading

Diff for: test/image/baselines/geo_point-selection.png

-22 Bytes
Loading

Diff for: test/image/baselines/geo_stereographic.png

-181 Bytes
Loading

0 commit comments

Comments
 (0)