prettymaps icon indicating copy to clipboard operation
prettymaps copied to clipboard

Plotter SVG save

Open zoyander opened this issue 2 months ago • 1 comments

Hi!

I'm sure this is due to an error on my end, but I'm having trouble getting an SVG file out of the plotter mode in Google colab. I added the save_as command to the plotter example as follows:

plot = prettymaps.plot( (41.39491,2.17557), mode = 'plotter', layers = dict(perimeter = {}), preset = 'barcelona-plotter', scale_x = .6, scale_y = -.6, save_as = 'barcelona_plot.svg' )

The result is a valid image in the code cell output, but the file it generates seems to be blank.

Image

Please let me know if you need any other info!

zoyander avatar Oct 18 '25 17:10 zoyander

It could be helpful if you shared your notebook online.

tifa365 avatar Nov 29 '25 04:11 tifa365