Blame 0001-DOC-Don-t-download-RGB.byte.tif-during-build.patch

9ed2fe8
From 180fcfd02a1c4a01eef832d8695b4321c3671fe2 Mon Sep 17 00:00:00 2001
45d03f9
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
45d03f9
Date: Fri, 15 Mar 2019 22:31:18 -0400
9ed2fe8
Subject: [PATCH 1/3] DOC: Don't download RGB.byte.tif during build.
45d03f9
45d03f9
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
45d03f9
---
d06712b
 doc/gallery/plot_rasterio.py     | 2 +-
d06712b
 doc/gallery/plot_rasterio_rgb.py | 2 +-
d06712b
 2 files changed, 2 insertions(+), 2 deletions(-)
45d03f9
45d03f9
diff --git a/doc/gallery/plot_rasterio.py b/doc/gallery/plot_rasterio.py
9ed2fe8
index 8294e019..bc8b4421 100644
45d03f9
--- a/doc/gallery/plot_rasterio.py
45d03f9
+++ b/doc/gallery/plot_rasterio.py
9ed2fe8
@@ -23,7 +23,7 @@ from pyproj import Transformer
45d03f9
 import xarray as xr
45d03f9
 
d06712b
 # Read the data
618c5a4
-url = "https://github.com/mapbox/rasterio/raw/master/tests/data/RGB.byte.tif"
618c5a4
+url = "RGB.byte.tif"
d06712b
 da = xr.open_rasterio(url)
45d03f9
 
9ed2fe8
 # Compute the lon/lat coordinates with pyproj
45d03f9
diff --git a/doc/gallery/plot_rasterio_rgb.py b/doc/gallery/plot_rasterio_rgb.py
618c5a4
index 758d4cd3..f2a7b2db 100644
45d03f9
--- a/doc/gallery/plot_rasterio_rgb.py
45d03f9
+++ b/doc/gallery/plot_rasterio_rgb.py
618c5a4
@@ -18,7 +18,7 @@ import matplotlib.pyplot as plt
45d03f9
 import xarray as xr
45d03f9
 
d06712b
 # Read the data
618c5a4
-url = "https://github.com/mapbox/rasterio/raw/master/tests/data/RGB.byte.tif"
618c5a4
+url = "RGB.byte.tif"
d06712b
 da = xr.open_rasterio(url)
45d03f9
 
d06712b
 # The data is in UTM projection. We have to set it manually until
45d03f9
-- 
f252ef5
2.31.1
45d03f9