Is there a way to register Jupyter Notebook Progress Bar Widget instead of Text Progress Bar in Dask/Distributed?
<p>I know that there is a way to globally register <code>dask.diagnostics.ProgressBar</code>, and while it is quite nice, it breaks my cell outputs. I have also seen a nice <code>distributed.diagnostics.progress</code> function, which can present the execution progress with Jupyter Notebook Progress Bar widget, but it expects to receive futures.</p>

<p>The issue I have here is that <code>dask.diagnostics.ProgressBar</code> uses <code>stdout</code> (so I cannot print anything while I use the Progress Bar), and <code>distributed.diagnostics.progress</code> needs to be called explicitly with Dask/Distributed futures, but I have my functions which compute something and return an instance of a "result" class rather than a Dask/Distributed future.</p>