- 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
axiselement; can now be used to update or add new matplotlib elements to prettymaps plot. Exampleplot.ax.set_title("Barcelona"). - fig: a matplotlib
figureelement; can now be used to update or add new matplotlib elements to prettymaps plot. Exampleplot.fig.patch.set_facecolor("#fff").