Skip to content

Commit 3c51bf3

Browse files
committed
adapt Axes.transition2 to new axes draw routines
1 parent 29ce6df commit 3c51bf3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/plots/cartesian/transition_axes.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,8 @@ function transitionAxes2(gd, edits, transitionOpts, makeOnCompleteCallback) {
329329
var activeAxIds = [xa._id, ya._id];
330330
var i;
331331

332-
for(i = 0; i < activeAxIds.length; i++) {
333-
Axes.doTicksSingle(gd, activeAxIds[i], true);
334-
}
332+
Axes.drawOne(gd, xa, {skipTitle: true});
333+
Axes.drawOne(gd, ya, {skipTitle: true});
335334

336335
function redrawObjs(objArray, method, shortCircuit) {
337336
for(i = 0; i < objArray.length; i++) {

0 commit comments

Comments
 (0)