Skip to main content
Sean Gillies
  • About
  • Tags
  • Feed
  • Archive

    SVG Maps with Matplotlib

    Sean Gillies

    2005-04-14 00:00

    Have I mentioned how impressed I am by matplotlib? Swapping out the RendererAgg in my prototype mapping engine for a RendererSVG from matplotlib's SVG backend in no time yields a map as image/svg+xml: nwmed.svg (warning: 500K file). I downloaded an SVG-enabled Firefox CVS build and it displays a nice looking map of the Northwest Mediterranean.

    • python
    • the lab
    • work
    • Previous post
    • Next post
    Contents © 2025 Sean Gillies. All rights reserved. Code snippets are licensed under a BSD 3-Clause license. - Powered by Nikola