diff --git a/python/test/sandbox/test.ipynb b/python/test/sandbox/test.ipynb index 9d9ff84..b50c948 100644 --- a/python/test/sandbox/test.ipynb +++ b/python/test/sandbox/test.ipynb @@ -48,24 +48,23 @@ ], "source": [ "# importing classical numpy objects\n", - "from numpy import zeros, array, identity, dot\n", - "from numpy.linalg import norm\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: \"{0:0.1f}\".format(x)})\n", + "np.set_printoptions(formatter={\"float\": lambda x: f\"{x:0.1f}\"})\n", "\n", "# use array representation for binding eigen objects to python\n", - "import eigenpy\n", "\n", "\n", "# importing the bezier curve class\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "\n", "from ndcurves import bezier\n", "\n", "# importing tools to plot bezier curves\n", "from ndcurves.plot import plotBezier\n", - "from mpl_toolkits.mplot3d import Axes3D\n", - "import matplotlib.pyplot as plt\n", - "import numpy as np\n", "\n", "# We describe a degree 3 curve as a Bezier curve with 4 control points\n", "waypoints = array(\n",