Skip to content

Commit 14d6649

Browse files
committed
Remove out of date comments
1 parent d2be6c9 commit 14d6649

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/plots/cartesian/set_convert.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,8 @@ module.exports = function setConvert(ax, fullLayout) {
147147
function getCategoryIndex(v) {
148148
// d2l/d2c variant that that won't add categories but will also
149149
// allow numbers to be mapped to the linearized axis positions
150-
var index;
151-
// Get the index from the aux map if it was built, otherwise search the _categories array
152150
if(ax._categoriesMap) {
153-
index = ax._categoriesMap[v];
151+
var index = ax._categoriesMap[v];
154152
if(index !== undefined) return index;
155153
}
156154

0 commit comments

Comments
 (0)