prettymaps
prettymaps copied to clipboard
Plotter SVG save
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.
Please let me know if you need any other info!
It could be helpful if you shared your notebook online.