mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-09-09 05:30:52 +02:00
Compare commits
3 Commits
508402f8ca
...
bc240aff92
Author | SHA1 | Date | |
---|---|---|---|
|
bc240aff92 | ||
|
2da2395112 | ||
|
f5fb002e03 |
@@ -561,7 +561,7 @@ def draw_text(params: Dict[str, dict], background: BaseGeometry) -> None:
|
||||
params (Dict[str, dict]): matplotlib style parameters for drawing text. params['text'] should contain the message to be drawn.
|
||||
background (BaseGeometry): Background layer
|
||||
"""
|
||||
# Override default osm_credit dict with provided parameters
|
||||
# Override default credit dict with provided parameters
|
||||
params = override_params(
|
||||
dict(
|
||||
text="\n".join(
|
||||
@@ -864,7 +864,7 @@ def plot(
|
||||
Specify the name of each layer and the OpenStreetMap tags to fetch
|
||||
style: dict
|
||||
Drawing params for each layer (matplotlib params such as 'fc', 'ec', 'fill', etc.)
|
||||
osm_credit: dict
|
||||
credit: dict
|
||||
OSM Caption parameters
|
||||
figsize: Tuple
|
||||
(Optional) Width and Height (in inches) for the Matplotlib figure. Defaults to (10, 10)
|
||||
|
2
setup.py
2
setup.py
@@ -7,7 +7,7 @@ presets_dir = os.path.abspath(os.path.join(os.path.pardir, "presets"))
|
||||
|
||||
setup(
|
||||
name="prettymaps",
|
||||
version="v1.3.1",
|
||||
version="v1.3.2",
|
||||
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",
|
||||
|
Reference in New Issue
Block a user