Python How To Iterate With A For Loop Instead Of Recursive Loop Over Matplotlib Widget

Python How To Iterate With A For Loop Instead Of Recursive Loop Over Matplotlib Widget