Python Matplotlib Get Axis Limits In R