-
Notifications
You must be signed in to change notification settings - Fork 229
TYP: Add type hints to the Figure.tilemap method #3095
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
Conversation
See :doc:`Contextily providers <contextily:providers_deepdive>` for a list of | ||
tile providers. Default is ``xyzservices.providers.OpenStreetMap.HOT``, i.e. | ||
OpenStreetMap Humanitarian web tiles. | ||
- A web tile provider in the form of a URL. The placeholders for the XYZ in the |
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.
I have to use double curly brackets here {{x}}
, otherwise the fmt_docstrings
decorator will report KeyError
exception (see https://github.com/GenericMappingTools/pygmt/actions/runs/8225955536/job/22491725235?pr=3095).
The {{x}}
is correctly shown as {x}
on the website.
Similar to #3087, but for the
Figure.tilemap
method.Preview: https://pygmt-dev--3095.org.readthedocs.build/en/3095/api/generated/pygmt.Figure.tilemap.html#pygmt.Figure.tilemap