Here is an example of a picture I drew.
/ /
/ /
/ /
I want to rotate it like this:
l l
l l
l l
What should I do?
This is my code.
plt.figure(figsize=(20,15))
route_start=[34.45, 126.05]
route_end = [34.4, 126.1]
plt.scatter(df.lon.values, df.lat.values, alpha=0.3)
plt.plot([route_start[1],route_end[1]],[route_start[0],route_end[0]],'b-')
[enter image description here][1]
[enter image description here][2]
I wanna [1] image to [2] image. [1]: https://i.stack.imgur.com/xFYsr.png [2]: https://i.stack.imgur.com/NGu3r.png