Skip to content

EmmanuelBoidot/pyLeaflet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyLeaflet

mpld3 extension for plotting data on a Leaflet map

About

pyLeaflet it an extension of mpld3 that provides geolocalized data visualization on a Leaflet layer as an overlay pane.

Installation

pyLeaflet is compatible with python 2.6-2.7 (python 3 not tested). It requires mpld3, matplotlib version 1.3 and jinja2 version 2.7+.

To install:

Example Plot

An example script is provided in this project: see ``example.py''. In order to plot geodata using pyLeaflet, proceed as for plotting a (lon,lat) figure on MatPlotLib, (using the longitude as the first coordinate and the latitude as the second coordinate). The first subplot will be rendered on the map.

Next

  • brush selector for timeseries display on the map
  • images rendering
  • animations (not supported by mpld3)

About

mpld3 extension for plotting data on a Leaflet map

Resources

License

Stars

Watchers

Forks

Packages

No packages published