Skip to content

Commit e5d238d

Browse files
committed
remove crispEdges for all polar subplot paths
... just like ternary does as cripsEdges gives counterproductive results.
1 parent 1e81039 commit e5d238d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plots/polar/polar.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,10 @@ proto.updateLayout = function(fullLayout, polarLayout) {
245245
_this.clipPaths.circle.select('path')
246246
.attr('d', pathSectorClosed(radius, sector))
247247
.attr('transform', strTranslate(cx - xOffset2, cy - yOffset2));
248+
249+
// remove crispEdges - all the off-square angles in polar plots
250+
// make these counterproductive.
251+
_this.framework.selectAll('.crisp').classed('crisp', 0);
248252
};
249253

250254
proto.updateRadialAxis = function(fullLayout, polarLayout) {

0 commit comments

Comments
 (0)