Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draw.py: fix plot() parameter documentation (fix #121) #122

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions prettymaps/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down Expand Up @@ -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)
Expand Down