From 2d906378a0e06ed2a894274f29ff5b8e5aa19ee9 Mon Sep 17 00:00:00 2001 From: Greg Warner Date: Wed, 10 Oct 2018 15:45:56 -0700 Subject: [PATCH] fixing warning DeprecationWarning: object of type cannot be safely interpreted as an integer. --- _posts/python/statistical/box/box.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/python/statistical/box/box.ipynb b/_posts/python/statistical/box/box.ipynb index 93c8e2f87026..876b373bbd8d 100755 --- a/_posts/python/statistical/box/box.ipynb +++ b/_posts/python/statistical/box/box.ipynb @@ -574,7 +574,7 @@ "\n", "from numpy import * \n", "\n", - "N = 30. # Number of boxes\n", + "N = 30 # Number of boxes\n", "\n", "# generate an array of rainbow colors by fixing the saturation and lightness of the HSL representation of colour \n", "# and marching around the hue. \n",