class_docstr: Simple percentage indicator.
  
  Renders like this: " 87%" (has constant width of 4 chars). Tries to re-render at every percentage point
  (so that you will see " 88%", " 89%", " 90%", etc).
class_docstr_tok: ["Simple","percentage","indicator",".","Renders","like","this",":","``","87","%","''","(","has","constant","width","of","4","chars",")",".","Tries","to","re-render","at","every","percentage","point","(","so","that","you","will","see","``","88","%","''",",","``","89","%","''",",","``","90","%","''",",","etc",")","."]
docstr: Render the widget.
docstr_tok: ["Render","the","widget","."]
code: def render(self, progress, width=None, status=None):
      """Render the widget."""
      current_pct = int(progress * 100 + 0.1)
      return RenderResult(
          rendered="%3d%%" % current_pct,
          next_progress=(current_pct + 1) / 100,
      )
  
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 for calling the PBWPercentage obj's underlying member method code with example usage: obj.render(progress, width, status) and returns: RenderResult