Skip to content

Commit 3af122f

Browse files
committed
Durther minor edits for attribution functionality
1 parent c201105 commit 3af122f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contextily/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
from . import tile_providers as sources
66
from .place import Place, plot_map
77
from .tile import *
8-
from .plotting import add_basemap, add_legend
8+
from .plotting import add_basemap, add_attribution
99

1010
__version__ = '0.99.0.dev'

contextily/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def add_attribution(ax, att=ATTRIBUTION):
120120
minY, maxY = ax.get_ylim()
121121
ax.text(minX + (maxX - minX) * 0.005,
122122
minY + (maxY - minY) * 0.005,
123-
lic, size=8,
123+
att, size=8,
124124
path_effects=[patheffects.withStroke(linewidth=2,
125125
foreground="w")])
126126
return ax

0 commit comments

Comments
 (0)