-
Notifications
You must be signed in to change notification settings - Fork 80
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
Initial stub on the road to address #20 #32
Conversation
contextily/plotting.py
Outdated
# If web source | ||
if url[:4] == 'http': | ||
# Zoom | ||
if (type(zoom) == str) and (zoom.lower() == 'auto'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isinstance(zoom, str)
is better here
(and personally I would not do the lower
, IMO no reason to give the user this flexibility)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in 5a37032, although I've left lower
as I think it's a way to be gentler with people who always forget whether it's auto
, Auto
, AUTO
, etc.
…plotting_refactor#20
…ting deprecatin warning for plot_map
…t .tif files within the test method
This fails in Python 2.7, but that relates to #36. Merging to address elsewhere and also be able to implement other issues. |
Opening PR to track evolution on #20. Before merging, the following needs to be completed:
add_basemap
implemented (including web and localurl
sources)Place.plot_map
refactored to move plotting machinery into the newplotting.py
module, andplot
method inside thePlace
class.