prettymaps
prettymaps copied to clipboard
Portrait orientation of Barcelona example
Hello! Is it possible to make Barcelona example in portrait orientation? Draw map 2/3 proportion rectangle not square.
Currently you can do that by updating the perimeter's shape in the "postprocessing" function, but I'm planning to add aspect ratio as a parameter for the prettymaps.plot function
Thank you
Could you maybe provide a short example how to do this with postprocessing? I tried modifying layers["perimeter"].bounds, but I guess it might be a problem that shapely geometry objects have become immutable as of v2.0: https://shapely.readthedocs.io/en/stable/migration.html#geometry-objects-will-become-immutable
Hey @generativearts & @danielwiegand did you ever figure out how to do this?
@till-m No. I ended up generating a quadratic image and changing the aspect ratio by means of Gimp.
any updates on this?