class_docstr: A 2-line progress bar.
  
  The progress bar looks roughly like this in the console::
  
                              Header
      20% [===========----------------------------------]
  
  The progress bar is colored, if the terminal supports color
  output; and adjusts to the width of the terminal.
class_docstr_tok: ["A","2-line","progress","bar",".","The","progress","bar","looks","roughly","like","this","in","the","console",":",":","Header","20","%","[","===========","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","]","The","progress","bar","is","colored",",","if","the","terminal","supports","color","output",";","and","adjusts","to","the","width","of","the","terminal","."]
docstr: Clears the progress bar (i.e. removes it from the screen)
code: def clear(self):
      """Clears the progress bar (i.e. removes it from the screen)"""
      if not self.cleared:
          sys.stdout.write(
              self.term.BOL
              + self.term.CLEAR_EOL
              + self.term.UP
              + self.term.CLEAR_EOL
              + self.term.UP
              + self.term.CLEAR_EOL
          )
          self.cleared = True
          self.last_percent = 0
          self.last_message = ""
  
imports: from abc import ABCMeta, abstractmethod
  import re
  import sys
  from igraph import __version__
  from igraph._igraph import set_progress_handler, set_status_handler
  from igraph.configuration import Configuration
label_desc: Use image node_id 4 for calling the ProgressBar obj's underlying member method code with example usage: obj.clear() without return types