If you want to define a parameter, but call the parameter list out of order and/or omit some parameters, you need to specify which parameter you are trying to set.
In this case, you want to set aspect
so just assign 'equal'
to that.
pyplot.axis([1234.0, 1773.0, 497.0, 1362.0], aspect = 'equal')