Skip to content

Commit

Permalink
Don't raise "unrecognized GUI edit" warning on _derived property
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Dec 7, 2019
1 parent 45ddd80 commit cf2c4fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plot_api/plot_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2555,7 +2555,9 @@ function applyUIRevisions(data, layout, oldFullData, oldFullLayout) {
}
}
} else {
Lib.warn('unrecognized GUI edit: ' + key);
if(key.search('._derived') < 0) {
Lib.warn('unrecognized GUI edit: ' + key);
}
}
// if we got this far, the new value was accepted as the new starting
// point (either because it changed or revision changed)
Expand Down

0 comments on commit cf2c4fc

Please sign in to comment.