From f33c8d33c65bed067e445f57c20a4b7c9acb04dc Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 8 Sep 2016 21:43:28 -0400 Subject: [PATCH] DOC: ensure we only pass ints into np slicing Fix 3 examples that fail under numpy '1.12.0.dev0+cb7f407' --- examples/pylab_examples/data_helper.py | 4 ++-- examples/pylab_examples/image_slices_viewer.py | 2 +- examples/pylab_examples/quiver_demo.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/pylab_examples/data_helper.py b/examples/pylab_examples/data_helper.py index 291a6dc44813..27a9cef06dda 100755 --- a/examples/pylab_examples/data_helper.py +++ b/examples/pylab_examples/data_helper.py @@ -17,10 +17,10 @@ def get_two_stock_data(): file2 = cbook.get_sample_data('AAPL.dat.gz') M1 = fromstring(file1.read(), '