class_docstr: Progress bar implementation that uses html <progress> tag.
class_docstr_tok: ["Progress","bar","implementation","that","uses","html","<","progress",">","tag","."]
code: def __init__(
      self,
      title: str,
      unit: str,
      iterable: t.Iterable[t.Any],
      total: int,
      metadata: t.Optional[t.Mapping[str, t.Any]] = None,
      display_immediately: bool = False,
      disable: bool = False,
  ):
      self._title = title
      self._unit = unit
      self._iterable = iterable
      self._total = total
      self._seconds_passed = 0
      self._inital_metadata = dict(metadata) if metadata else {}
      self._metadata = self._inital_metadata.copy()
      self._progress_bar = None
      self._current_item_index = 0
      display({"text/html": self.STYLE}, raw=True)
      self._display_handler = display(
          {"text/html": ""}, raw=True, display_id=True
      )
      self._disable = disable
      self._reuse_counter = 0
  
      if disable is False and display_immediately is True:
          self.refresh()
  
imports: import logging
  import os
  import time
  import typing
  from functools import lru_cache
  import plotly.io
  import tqdm
  from ipykernel.zmqshell import ZMQInteractiveShell
  from IPython import get_ipython
  from IPython.display import display
  from IPython.terminal.interactiveshell import TerminalInteractiveShell
  from tqdm.notebook import tqdm
  from deepchecks.utils.logger import get_verbosity
label_desc: Use image node_id 1 to create a new HtmlProgressBar object  with example: obj = HtmlProgressBar(title, unit, iterable, total, metadata, display_immediately, disable)