Skip to content

Commit 342c904

Browse files
committed
reset scattermapbox.marker.rotation dflt to null instead of zero
1 parent 662f51a commit 342c904

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/traces/scattermapbox/attributes.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,13 @@ module.exports = overrideAll({
8989
},
9090
angle: {
9191
valType: 'number',
92-
dflt: 0,
92+
dflt: null,
9393
role: 'style',
9494
arrayOk: true,
9595
description: [
96-
'Sets the marker rotation, in degrees clockwise.'
96+
'Sets the marker rotation, in degrees clockwise.',
97+
'When it is not defined or using null (i.e. default),',
98+
'no rotation would be applied in perspective views.'
9799
].join(' ')
98100
},
99101
allowoverlap: {

0 commit comments

Comments
 (0)