Skip to content

Commit 84bd54b

Browse files
committed
allow autotickangles for polar radial axes
1 parent 4d4e056 commit 84bd54b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/plots/polar/layout_attributes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ var radialAxisAttrs = {
105105
].join(' ')
106106
},
107107

108+
autotickangles: axesAttrs.autotickangles,
109+
108110
side: {
109111
valType: 'enumerated',
110112
// TODO add 'center' for `showline: false` radial axes

src/plots/polar/layout_defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function handleDefaults(contIn, contOut, coerce, opts) {
168168
size: dfltFontSize,
169169
family: dfltFontFamily
170170
},
171-
noAutotickangles: true
171+
noAutotickangles: axName === 'angularaxis'
172172
});
173173

174174
handleTickMarkDefaults(axIn, axOut, coerceAxis, {outerTicks: true});

0 commit comments

Comments
 (0)