Feb 28, 2022
Well spotted Neal. "tr' should be 'str' to convert the decimal expansion into a string of digits (drop the decimal point).
Re, ax and the use of Matplotlib, I'm using it as the "lowest common denominator" for this 'pseudo-code'. In reality any canvas like structure which one can draw to will suffice.