class_docstr: The widget that looks like an actual progress bar.
  
  It renders differently depending on whether the output supports Unicode or not:
      |███████   |  or
      [#######   ]
class_docstr_tok: ["The","widget","that","looks","like","an","actual","progress","bar",".","It","renders","differently","depending","on","whether","the","output","supports","Unicode","or","not",":","|\u2588\u2588\u2588\u2588\u2588\u2588\u2588","|","or","[","#","#","#","#","#","#","#","]"]
docstr: Initialize the widget.
docstr_tok: ["Initialize","the","widget","."]
code: def __init__(self):
      """Initialize the widget."""
      super(ProgressBarWidget, self).__init__()
      self._bar_ends = None
      self._bar_symbols = None
      self._rendered = ""
      self.set_encoding(None)
  
imports: from h2o.utils.compatibility import *
  import math
  import os
  import sys
  import time
  from types import FunctionType, GeneratorType, MethodType
  from h2o.utils.shared_utils import clamp
  from h2o.utils.typechecks import assert_is_type, is_type, numeric
label_desc: Use image node_id 1 to create a new PBWBar object from inherited base classes: ProgressBarFlexibleWidget with example: obj = PBWBar()