class_docstr: A simple progress bar that shows a percentage progress in
  the given colour.
class_docstr_tok: ["A","simple","progress","bar","that","shows","a","percentage","progress","in","the","given","colour","."]
code: def setProgressFraction(self, fraction, color="blue"):
      self.fraction = fraction
      self.color = color
      self.paint()
      self.canvas.update_idletasks()
  
imports: import sys
  import traceback
  import unittest
  import tkinter
  from tkinter import messagebox
  from tkinter import filedialog
  from tkinter import simpledialog
label_desc: Use image node_id 2 for calling the ProgressBar obj's underlying member method code with example usage: obj.setProgressFraction(fraction, color) without return types