Closed jdoepfert closed 7 years ago
should be fine now!
Could this PR be merged?
I'd love to use the toner
maps...
@habi @jdoepfert Yes! I'll see if I can get to this soon.
Could this PR be merged? I'd love to use the toner maps...
You can use them already if you pass the tuple to the tiles=
kwarg
like:
import mplleaflet
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.plot([-38.48, -38.48, -38.48], [-16, -13, -10], 'ro')
stamen_toner = (
'http://a.tile.stamen.com/toner/{z}/{x}/{y}.png',
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> — Map data © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
)
mplleaflet.display(fig=fig, tiles=stamen_toner)
Thanks! Any change you can squash these so we can get rid of the
.py~
file in the history?