Skip to content

Commit 121baec

Browse files
committed
Update updateColorbar.m
fix tick --> Tick typo
1 parent a7fa811 commit 121baec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/plotlyfig_aux/core/updateColorbar.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
%-tick0-%
286286
colorbar.tick0 = str2double(colorbar_data.YTickLabel(1,:));
287287
%-dtick-%
288-
colorbar.dtick = str2double(colorbar_data.YTickLabel(2,:))- str2double(colorbar_data.YtickLabel(1,:));
288+
colorbar.dtick = str2double(colorbar_data.YTickLabel(2,:)) - str2double(colorbar_data.YTickLabel(1,:));
289289
end
290290
end
291291
end
@@ -318,7 +318,7 @@
318318
%-tick0-%
319319
colorbar.tick0 = str2double(colorbar_data.XTickLabel(1,:));
320320
%-dtick-%
321-
colorbar.dtick = str2double(colorbar_data.XTickLabel(2,:))- str2double(colorbar_data.XtickLabel(1,:));
321+
colorbar.dtick = str2double(colorbar_data.XTickLabel(2,:)) - str2double(colorbar_data.XTickLabel(1,:));
322322
end
323323
end
324324
end

0 commit comments

Comments
 (0)