Skip to content
Prev Previous commit
Next Next commit
make surface contours and scene spikes use Color.defaultLine
  • Loading branch information
etpinard committed Apr 21, 2016
commit 173f13e02b569bc00f78bfa3e7214fb127de254b
4 changes: 2 additions & 2 deletions src/plots/gl3d/layout/axis_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

'use strict';


var Color = require('../../../components/color');
var axesAttrs = require('../../cartesian/layout_attributes');
var extendFlat = require('../../../lib/extend').extendFlat;

Expand Down Expand Up @@ -43,7 +43,7 @@ module.exports = {
spikecolor: {
valType: 'color',
role: 'style',
dflt: 'rgb(0,0,0)',
dflt: Color.defaultLine,
description: 'Sets the color of the spikes.'
},
showbackground: {
Expand Down
5 changes: 3 additions & 2 deletions src/traces/surface/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

'use strict';

var Color = require('../../components/color');
var colorscaleAttrs = require('../../components/colorscale/attributes');
var extendFlat = require('../../lib/extend').extendFlat;

Expand Down Expand Up @@ -44,7 +45,7 @@ function makeContourAttr(axLetter) {
color: {
valType: 'color',
role: 'style',
dflt: '#000'
dflt: Color.defaultLine,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This required updating on baseline image ⬇️.

},
usecolormap: {
valType: 'boolean',
Expand All @@ -66,7 +67,7 @@ function makeContourAttr(axLetter) {
highlightcolor: {
valType: 'color',
role: 'style',
dflt: '#000'
dflt: Color.defaultLine,
},
highlightwidth: {
valType: 'number',
Expand Down
Binary file modified test/image/baselines/gl3d_contour-lines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.