how to split the digits of pi into a list
<p>I am plotting the digits of pi on a matplotlib graph, however in order to do this I must split the digits into individual integers. I am using math.pi for this, is there any other way I could do it to make it easier?</p>

<p>I think .split() only works on strings however I may be wrong.</p>