From 7cccda209a4e8b511296d75979d9c278592705c6 Mon Sep 17 00:00:00 2001 From: maroba Date: Sun, 1 Apr 2018 17:29:21 +0200 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 03d79cd..7713392 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,8 @@ _findiff_ can also handle non-uniform grids. The only difference is that instead the grid spacing to the `FinDiff` constructor, you give it the coordinates: ```python +import numpy as np + # A non-uniform 3D grid: x = np.r_[np.arange(0, 4, 0.05), np.arange(4, 10, 1)] y = np.r_[np.arange(0, 4, 0.05), np.arange(4, 10, 1)]