Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix setting of title field
  • Loading branch information
marthacryan committed Jan 21, 2025
commit c610b606726b2d6465e481fefc8ca2859874d28c
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
Loading