Skip to content

Commit

Permalink
place <g.barlayer> below <g.scatterlayer> in polar subplot
Browse files Browse the repository at this point in the history
... just like what Cartesian does
  • Loading branch information
etpinard committed Sep 6, 2018
1 parent 33e1acf commit 39b2ee3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plots/polar/polar.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ proto.updateLayers = function(fullLayout, polarLayout) {

switch(d) {
case 'frontplot':
sel.append('g').classed('scatterlayer', true);
// TODO add option to place in 'backplot' layer??
sel.append('g').classed('barlayer', true);
sel.append('g').classed('scatterlayer', true);
break;
case 'backplot':
sel.append('g').classed('maplayer', true);
Expand Down
Binary file modified test/image/baselines/polar_polygon-bars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 39b2ee3

Please sign in to comment.