Skip to content

Commit

Permalink
fix setting of title.text
Browse files Browse the repository at this point in the history
  • Loading branch information
emilykl committed Jan 22, 2025
1 parent c71a251 commit 659afc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jasmine/tests/transition_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ describe('Plotly.react transitions:', function() {
]);
})
.then(function() {
layout.title.text = 'FIGURE';
layout.title = { text: 'FIGURE' };
return Plotly.react(gd, data, layout);
})
.then(function() {
Expand Down

0 comments on commit 659afc3

Please sign in to comment.