diff --git a/python/test/sandbox/test.ipynb b/python/test/sandbox/test.ipynb index b50c9484003865563ed15a5e687c1f75f7bcf6b0..e9dfacb2086a7330684888a610c972c5c0925fc7 100644 --- a/python/test/sandbox/test.ipynb +++ b/python/test/sandbox/test.ipynb @@ -48,24 +48,20 @@ ], "source": [ "# importing classical numpy objects\n", - "import numpy as np\n", - "from numpy import array, dot, identity, zeros\n", - "from numpy.linalg import norm\n", - "\n", - "np.set_printoptions(formatter={\"float\": lambda x: f\"{x:0.1f}\"})\n", - "\n", "# use array representation for binding eigen objects to python\n", - "\n", - "\n", "# importing the bezier curve class\n", "import matplotlib.pyplot as plt\n", "import numpy as np\n", + "from numpy import array, dot, identity, zeros\n", + "from numpy.linalg import norm\n", "\n", "from ndcurves import bezier\n", "\n", "# importing tools to plot bezier curves\n", "from ndcurves.plot import plotBezier\n", "\n", + "np.set_printoptions(formatter={\"float\": lambda x: f\"{x:0.1f}\"})\n", + "\n", "# We describe a degree 3 curve as a Bezier curve with 4 control points\n", "waypoints = array(\n", " [[1.0, 2.0, 3.0], [-4.0, -5.0, -6.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0]]\n",