Prettymaps Versions Save

A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.

v1.0.0

1 year ago

- Refactoring

- Simplified the usage of some features

- New features for saving, loading & updating "presets" (JSON files containing OSM and matplotlib parameter configurations)

- plot = prettymaps.plot() now outputs a "Plot" object contaning:

  • geodataframes: a pandas dataframe with all the data fetched from OSM.
  • ax: a matplotlib axis element; can now be used to update or add new matplotlib elements to prettymaps plot. Example plot.ax.set_title("Barcelona").
  • fig: a matplotlib figure element; can now be used to update or add new matplotlib elements to prettymaps plot. Example plot.fig.patch.set_facecolor("#fff").

- Updated the examples.ipynb notebook

- Updated README with a short tutorial

v0.1.3

2 years ago

Followed matthewfeickert's instructions for publishing workflow with Github Actions (see here)

v0.1.2

2 years ago

v0.1.1

2 years ago

v0.1

2 years ago