Skip to content

Plotter SVG save #138

@zoyander

Description

@zoyander

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions