Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 19, 2024
1 parent b75f243 commit fb42495
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions python/test/sandbox/test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fb42495

Please sign in to comment.