Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d834bbb

Browse filesBrowse files
committed
fix typo hideLabel
1 parent ee7628a commit d834bbb
Copy full SHA for d834bbb

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎src/plots/cartesian/axes.js

Copy file name to clipboardExpand all lines: src/plots/cartesian/axes.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ axes.calcTicks = function calcTicks(ax, opts) {
945945
ax._inCalcTicks = true;
946946

947947
var lastVisibleHead;
948-
var hideLabe = function(tick) {
948+
var hideLabel = function(tick) {
949949
tick.text = ' '; // don't use an empty string here which can confuse automargin (issue 5132)
950950
ax._prevDateHead = lastVisibleHead;
951951
};
@@ -972,12 +972,12 @@ axes.calcTicks = function calcTicks(ax, opts) {
972972
if(p > maxRange) t.periodX = maxRange;
973973
if(p < minRange) t.periodX = minRange;
974974

975-
hideLabe(t);
975+
hideLabel(t);
976976
}
977977
}
978978

979979
if(tickVals[i].skipLabel) {
980-
hideLabe(t);
980+
hideLabel(t);
981981
}
982982

983983
ticksOut.push(t);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.