class_docstr: ProgressBar that uses an IPython ProgressBar widget for the notebook
  
  See Also
  --------
  progress: User function
  TextProgressBar: Text version suitable for the console
class_docstr_tok: ["ProgressBar","that","uses","an","IPython","ProgressBar","widget","for","the","notebook","See","Also","--","--","--","--","progress",":","User","function","TextProgressBar",":","Text","version","suitable","for","the","console"]
code: def __init__(
      self,
      keys,
      scheduler=None,
      interval="100ms",
      complete=False,
      loop=None,
      **kwargs,
  ):
      super().__init__(keys, scheduler, interval, complete)
  
      from ipywidgets import HTML, FloatProgress, HBox, VBox
  
      self.elapsed_time = HTML("")
      self.bar = FloatProgress(min=0, max=1, description="")
      self.bar_text = HTML("")
  
      self.bar_widget = HBox([self.bar_text, self.bar])
      self.widget = VBox([self.elapsed_time, self.bar_widget])
  
imports: from __future__ import annotations
  import html
  import logging
  import sys
  import warnings
  import weakref
  from contextlib import suppress
  from timeit import default_timer
  from typing import Callable
  from tlz import valmap
  from tornado.ioloop import IOLoop
  import dask
  from dask.utils import key_split
  from distributed.client import default_client, futures_of
  from distributed.core import CommClosedError, clean_exception, coerce_to_address, connect
  from distributed.diagnostics.progress import MultiProgress, Progress, format_time
  from distributed.protocol.pickle import dumps
  from distributed.utils import LoopRunner, is_kernel
label_desc: Use image node_id 1 to create a new ProgressWidget object from inherited base classes: ProgressBar with example: obj = ProgressWidget(keys, scheduler, interval, complete, loop)