mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-09-25 13:08:58 +02:00
Compare commits
4 Commits
v.0.1.8
...
v0.2-beta.
Author | SHA1 | Date | |
---|---|---|---|
|
a40c64e25d | ||
|
54339657fb | ||
|
dd2fd80544 | ||
|
e3a176a0b1 |
@@ -20,7 +20,7 @@ import re
|
||||
import os
|
||||
import json
|
||||
import yaml
|
||||
import IPython
|
||||
#import IPython
|
||||
import pathlib
|
||||
import warnings
|
||||
import matplotlib
|
||||
@@ -78,6 +78,7 @@ class Preset:
|
||||
"""
|
||||
params: dict
|
||||
|
||||
'''
|
||||
def _ipython_display_(self):
|
||||
"""
|
||||
Implements the _ipython_display_() function for the Preset class.
|
||||
@@ -104,7 +105,7 @@ class Preset:
|
||||
params.iloc[1:, 2:] = ''
|
||||
|
||||
IPython.display.display(IPython.display.Markdown(params.to_markdown()))
|
||||
|
||||
'''
|
||||
|
||||
def transform_gdfs(
|
||||
gdfs: Dict[str, gp.GeoDataFrame],
|
||||
|
@@ -1,4 +1,5 @@
|
||||
osmnx==1.1.2
|
||||
tabulate==0.8.9
|
||||
Shapely>=1.8,<2.0
|
||||
ipykernel==5.3.4
|
||||
descartes==1.1.0
|
||||
pyyaml==6.0.0
|
4
setup.py
4
setup.py
@@ -7,7 +7,7 @@ presets_dir = os.path.abspath(os.path.join(os.path.pardir, 'presets'))
|
||||
|
||||
setup(
|
||||
name="prettymaps",
|
||||
version="v0.1.8",
|
||||
version="v0.2-beta",
|
||||
description="A simple python library to draw pretty maps from OpenStreetMap data",
|
||||
long_description=parent_dir.joinpath("README.md").read_text(),
|
||||
long_description_content_type="text/markdown",
|
||||
@@ -22,6 +22,6 @@ setup(
|
||||
classifiers=[
|
||||
"Intended Audience :: Science/Research",
|
||||
],
|
||||
package_dir={'prettymaps': '.'},
|
||||
package_dir={'prettymaps': 'prettymaps'},
|
||||
package_data={'prettymaps': ['presets/*.json']},
|
||||
)
|
||||
|
Reference in New Issue
Block a user