From d96e91f56f2c120d59c1c5ee2832848bed9be139 Mon Sep 17 00:00:00 2001 From: Andrew Duberstein Date: Sat, 20 Jun 2020 14:17:21 -0700 Subject: [PATCH] pydeck: Update tests for interaction handling notebook (#4704) --- .../examples/03 - Using pydeck to manipulate data.ipynb | 6 ++++-- bindings/pydeck/tests/notebooks/test_nbconvert.py | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bindings/pydeck/examples/03 - Using pydeck to manipulate data.ipynb b/bindings/pydeck/examples/03 - Using pydeck to manipulate data.ipynb index c392651b493..b304ca2bbe4 100644 --- a/bindings/pydeck/examples/03 - Using pydeck to manipulate data.ipynb +++ b/bindings/pydeck/examples/03 - Using pydeck to manipulate data.ipynb @@ -8,6 +8,8 @@ "\n", "Often it's easier to use a visual application to draw a shape than define a geometry in code. Here we'll explore how pydeck can be used to select data and pass that selected data back to the Jupyter kernel for use in Pandas.\n", "\n", + "Currently this notebook runs against live data, and there is a slight chance that the source data will be unavailable.\n", + "\n", "## Contents\n", "\n", "- [Getting the data](#Getting-the-data)\n", @@ -83,7 +85,7 @@ "source": [ "# Two way communication\n", "\n", - "Click the above visualization and then execute the cell below to pass data from the application to Python" + "Click the above visualization and then execute the cell below to pass data from the application to Python." ] }, { @@ -112,7 +114,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.7" + "version": "3.7.6" } }, "nbformat": 4, diff --git a/bindings/pydeck/tests/notebooks/test_nbconvert.py b/bindings/pydeck/tests/notebooks/test_nbconvert.py index 36deea300d2..82800ef7dbd 100644 --- a/bindings/pydeck/tests/notebooks/test_nbconvert.py +++ b/bindings/pydeck/tests/notebooks/test_nbconvert.py @@ -11,7 +11,8 @@ def test_nbconvert(): for fname in glob.glob(nb_glob): # NOTE Massive data sets notebook takes too long to render, skipping for now - if '04' in fname or '06' in fname: + # NOTE skipping 03 (which contains live singapore taxi data) until I can provide a static version of that data + if '04' in fname or '06' in fname or '03' in fname: continue print(fname) assert nbconvert(fname)