We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff1f813 commit ae159fbCopy full SHA for ae159fb
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