def __call__(self, complete):
<EOL>self.ratio = ratio = complete / self.total<EOL>ncc = self._get_ncc(self.iwidth, ratio)  <EOL>if ncc < <NUM_LIT:0>:  <EOL><INDENT>ncc = self.remainder = <NUM_LIT:0><EOL><DEDENT>if ncc > self.iwidth:<EOL><INDENT>ncc = self.iwidth<EOL>self.remainder = <NUM_LIT:0><EOL><DEDENT>self._num_complete_chars = ncc<EOL>self._num_empty_chars = self.iwidth - ncc<EOL>self._update_status()<EOL>self._cached_str = None<EOL>return self<EOL>
Sets the value of the bar graph.