esciencecenter-digital-skills / geospatial-python

Introduction to Geospatial Raster and Vector Data with Python
https://esciencecenter-digital-skills.github.io/geospatial-python/
Other
3 stars 0 forks source link

Ep 8: Image seems to be mirrored #46

Closed Peter9192 closed 1 year ago

Peter9192 commented 1 year ago

In this example, the first image seems to be mirrored somehow:

image

I guess its due to ax1.set_ylim([ymin, ymax]). For imshow is organized as top to bottom, using ax1.set_ylim([ymax, ymin]) should fix it.

fnattino commented 1 year ago

Thanks a lot @Peter9192 for pointing this out! This issue should be fixed by @rogerkuou in #45 .