Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix #4136 - don't draw ticks corresponding to _linepositions
... when mirror isn't 'allticks' as _linepositions gets
    filled in lsInner (in subroutines.js) when mirror is set
    to 'all' OR 'allticks'
  • Loading branch information
etpinard committed Aug 20, 2019
commit cc191783c1a111031ed7f14ebc0f2c2d7355e284
4 changes: 3 additions & 1 deletion src/plots/cartesian/axes.js
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,9 @@ axes.drawOne = function(gd, ax, opts) {
transFn: transFn
});

tickSubplots = Object.keys(ax._linepositions || {});
if(ax.mirror === 'allticks') {
tickSubplots = Object.keys(ax._linepositions || {});
}
}

for(i = 0; i < tickSubplots.length; i++) {
Expand Down
Binary file modified test/image/baselines/mirror-all-vs-allticks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.