Skip to content

Commit 645e07d

Browse files
authored
docs: fix code format in static maps docs (#475)
1 parent 80cb54e commit 645e07d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

googlemaps/maps.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __init__(self, points,
123123

124124

125125
def static_map(client, size,
126-
center=None, zoom=None, scale=None,
126+
center=None, zoom=None, scale=None,
127127
format=None, maptype=None, language=None, region=None,
128128
markers=None, path=None, visible=None, style=None):
129129
"""
@@ -181,15 +181,15 @@ def static_map(client, size,
181181
:rtype: iterator containing the raw image data, which typically can be
182182
used to save an image file locally. For example:
183183
184-
```
184+
.. code-block:: python
185+
185186
f = open(local_filename, 'wb')
186187
for chunk in client.static_map(size=(400, 400),
187188
center=(52.520103, 13.404871),
188189
zoom=15):
189190
if chunk:
190191
f.write(chunk)
191192
f.close()
192-
```
193193
"""
194194

195195
params = {"size": convert.size(size)}

0 commit comments

Comments
 (0)