def _draw_results(self):
        """Label the detected digits, their probabilities, and the answer."""
        # Clear old labels
        self._op1_label.clear()
        self._op2_label.clear()
        self._answer_label.clear()

        # Set label text... need to check 'if is not None' because if they are 0 they evaluate to False
        self._op1_label.label = '{:d} ({:.2f}% probability)'.format(self._op1, self._op1_prob * 100) if self._op1 is not None else 'No digit detected.'
        self._op2_label.label = '{:d} ({:.2f}% probability)'.format(self._op2, self._op2_prob * 100) if self._op2 is not None else 'No digit detected.'
        self._answer_label.label = str(self._answer) if self._answer is not None else None

        # Draw new labels
        self._op1_label.draw()
        self._op2_label.draw()
        self._answer_label.draw()
Label the detected digits, their probabilities, and the answer.
apps/mnist_calc/mnist_calc.py