Skip to content

Commit

Permalink
Fix setting of title field
Browse files Browse the repository at this point in the history
  • Loading branch information
marthacryan committed Jan 21, 2025
1 parent c006a90 commit c610b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jasmine/tests/plot_api_react_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ describe('@noCIdep Plotly.react', function() {
Plotly.newPlot(gd, data, layout)
.then(countPlots)
.then(function() {
layout.title.text = 'XXXXX';
layout.title = { text: 'XXXXX' };
layout.hovermode = 'closest';
data[0].marker = {color: 'rgb(0, 100, 200)'};
return Plotly.react(gd, data, layout);
Expand Down

0 comments on commit c610b60

Please sign in to comment.