4 ms·
Is it possible to bind blackcellmagic[1] to run automatically everytime a cell is ran in a Jupyter notebook? [1] https://github.com/csurfer/blackcellmagic http
by pomber 8y ago
Is it possible to bind blackcellmagic[1] to run automatically everytime a cell is ran in a Jupyter notebook?
[1] https://github.com/csurfer/blackcellmagic https://github.com/csurfer/blackcellmagic
- sametmax 8y agoYou can explore putting something like : require([ "base/js/namespace", "base/js/events" ], function(Jupyter, events){ events.on('finished_execute.CodeCell', function(){ // execute black here }); }); In ~/.jupyter/custom/custom.js.