Skip to content

Commit 7d2723c

Browse files
author
Lowtower
committed
formatting
1 parent b6db5a6 commit 7d2723c

8 files changed

Lines changed: 8 additions & 1 deletion

File tree

examples/custom_objects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

33
"""py-staticmaps - Example Custom Objects"""
4+
45
# Copyright (c) 2021 Florian Pigorsch; see /LICENSE for licensing information
56

67
try:

examples/draw_gpx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

33
"""py-staticmaps - Example Draw GPX"""
4+
45
# Copyright (c) 2020 Florian Pigorsch; see /LICENSE for licensing information
56

67
import sys

examples/frankfurt_newyork.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

33
"""py-staticmaps - Example Frankfurt-New York"""
4+
45
# Copyright (c) 2020-2025 Florian Pigorsch & Contributors. All rights reserved.
56
#
67
# Use of this source code is governed by a MIT-style

examples/freiburg_area.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

33
"""py-staticmaps - Example Freiburg Area"""
4+
45
# Copyright (c) 2020 Florian Pigorsch; see /LICENSE for licensing information
56

67
import staticmaps

examples/geodesic_circles.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

33
"""py-staticmaps - Example Geodesic Circles"""
4+
45
# Copyright (c) 2020 Florian Pigorsch; see /LICENSE for licensing information
56

67
import staticmaps

examples/tile_providers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

33
"""py-staticmaps - Example Tile Providers"""
4+
45
# Copyright (c) 2020 Florian Pigorsch; see /LICENSE for licensing information
56

67
import os

examples/us_capitals.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

33
"""py-staticmaps - Example US capitals"""
4+
45
# Copyright (c) 2020 Florian Pigorsch; see /LICENSE for licensing information
56

67
import json

staticmaps/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def extra_pixel_bounds(self) -> PixelBoundsT:
220220
if (attribution is None) or (attribution == ""):
221221
max_b = max(max_b, 12)
222222
for obj in self._objects:
223-
(l, t, r, b) = obj.extra_pixel_bounds()
223+
l, t, r, b = obj.extra_pixel_bounds()
224224
max_l = max(max_l, l)
225225
max_t = max(max_t, t)
226226
max_r = max(max_r, r)

0 commit comments

Comments
 (0)