Python Matplotlib Get Axis Limits Matlab For Loop