kopia lustrzana https://github.com/marceloprates/prettymaps
draw.py: fix plot() parameter documentation (fix #121)
as osm_credit was replaced by credit in commit c6c8f19
pull/122/head
rodzic
dc90176911
commit
f5fb002e03
|
@ -563,7 +563,7 @@ def draw_text(
|
|||
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([
|
||||
|
@ -853,7 +853,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)
|
||||
|
|
Ładowanie…
Reference in New Issue