marceloprates / prettymaps

A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
GNU Affero General Public License v3.0
11.04k stars 516 forks source link

Remove jupyter dependency #41

Closed TheJokersThief closed 2 years ago

TheJokersThief commented 2 years ago

The jupyter package isn't used in the code so it can be removed, which also removes a lot of knock-on dependencies as well and makes it quicker to install the project :)

stsievert commented 2 years ago

Why is IPython needed?

TheJokersThief commented 2 years ago

@stsievert It's used in draw.py for some markdown stuff by the looks of it.

Imported: https://github.com/marceloprates/prettymaps/blob/b884d5967c0ffd0f9365fd3c1841362e290ecbec/prettymaps/draw.py#L13

In use to show the palette in markdown (?): https://github.com/marceloprates/prettymaps/blob/b884d5967c0ffd0f9365fd3c1841362e290ecbec/prettymaps/draw.py#L22-L34