how to suppress warnings in python jupyter notebook code example
Example 1: jupyter ignore warnings
import warnings
warnings.filterwarnings('ignore')
Example 2: how to create pop up warnings in jupyter notebook
require(
["base/js/dialog"],
function(dialog) {
dialog.modal({
title: 'Hello world',
body: 'Hi, lorem ipsum and such',
buttons: {
'kthxbye': {}
}
});
}
);