Skip to content

Commit e651d57

Browse files
For annotation test no log ax or ay is pixel
Don't take the log of the given test values if ax or ay is pixel.
1 parent 11a8d3a commit e651d57

File tree

5 files changed

+51
-749
lines changed

5 files changed

+51
-749
lines changed

src/plots/cartesian/axes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ axes.coerceRef = function(containerIn, containerOut, gd, attr, dflt, extraOption
117117
axes.getRefType = function(ar) {
118118
if(ar === undefined) { return ar; }
119119
if(ar === 'paper') { return 'paper'; }
120+
if(ar === 'pixel') { return 'pixel'; }
120121
if(/( domain)$/.test(ar)) { return 'domain'; } else { return 'range'; }
121122
};
122123

0 commit comments

Comments
 (0)