Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff1f813 + ae159fb commit f492078Copy full SHA for f492078
1 file changed
lib/matplotlib/backends/web_backend/js/mpl.js
@@ -575,19 +575,21 @@ mpl.figure.prototype._make_on_message_function = function (fig) {
575
var callback = fig['handle_' + msg_type];
576
} catch (e) {
577
console.log(
578
- "No handler for the '" + msg_type + "' message type: ",
+ "No handler for the '%s' message type: ",
579
+ msg_type,
580
msg
581
);
582
return;
583
}
584
585
if (callback) {
586
try {
- // console.log("Handling '" + msg_type + "' message: ", msg);
587
+ // console.log("Handling '%s' message: ", msg_type, msg);
588
callback(fig, msg);
589
590
- "Exception inside the 'handler_" + msg_type + "' callback:",
591
+ "Exception inside the 'handler_%s' callback:",
592
593
e,
594
e.stack,
595
0 commit comments