Skip to content

Commit 659afc3

Browse files
committed
fix setting of title.text
1 parent c71a251 commit 659afc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/transition_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ describe('Plotly.react transitions:', function() {
455455
]);
456456
})
457457
.then(function() {
458-
layout.title.text = 'FIGURE';
458+
layout.title = { text: 'FIGURE' };
459459
return Plotly.react(gd, data, layout);
460460
})
461461
.then(function() {

0 commit comments

Comments
 (0)