From c0db01938259e043dfebfb003ab3c746dadefc50 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Wed, 29 Jul 2020 09:40:07 +0200 Subject: [PATCH] Fix indentation in GeoJSON docs Signed-off-by: martinRenou --- docs/source/api_reference/geo_json.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/api_reference/geo_json.rst b/docs/source/api_reference/geo_json.rst index 2164f1364..4a85eb254 100644 --- a/docs/source/api_reference/geo_json.rst +++ b/docs/source/api_reference/geo_json.rst @@ -14,13 +14,13 @@ Example from ipyleaflet import Map, GeoJSON if not os.path.exists('europe_110.geo.json'): - url = 'https://github.com/jupyter-widgets/ipyleaflet/raw/master/examples/europe_110.geo.json' - r = requests.get(url) - with open('europe_110.geo.json', 'w') as f: - f.write(r.content.decode("utf-8")) + url = 'https://github.com/jupyter-widgets/ipyleaflet/raw/master/examples/europe_110.geo.json' + r = requests.get(url) + with open('europe_110.geo.json', 'w') as f: + f.write(r.content.decode("utf-8")) with open('europe_110.geo.json', 'r') as f: - data = json.load(f) + data = json.load(f) def random_color(feature): return {