Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d73f292

Browse files
committedOct 1, 2021
coerce prefix and suffix for an invisible polar axis
1 parent 6f93045 commit d73f292

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎src/plots/polar/layout_defaults.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,12 @@ function handleDefaults(contIn, contOut, coerce, opts) {
137137
break;
138138
}
139139

140+
handlePrefixSuffixDefaults(axIn, axOut, coerceAxis, axOut.type, {
141+
tickSuffixDflt: axOut.thetaunit === 'degrees' ? '°' : undefined
142+
});
143+
140144
if(visible) {
141145
handleTickValueDefaults(axIn, axOut, coerceAxis, axOut.type);
142-
handlePrefixSuffixDefaults(axIn, axOut, coerceAxis, axOut.type, {
143-
tickSuffixDflt: axOut.thetaunit === 'degrees' ? '°' : undefined
144-
});
145146
handleTickLabelDefaults(axIn, axOut, coerceAxis, axOut.type);
146147
handleTickMarkDefaults(axIn, axOut, coerceAxis, {outerTicks: true});
147148

0 commit comments

Comments
 (0)
Please sign in to comment.