diff --git a/10_LA_intro.ipynb b/10_LA_intro.ipynb index f07fd162..fa4709a5 100644 --- a/10_LA_intro.ipynb +++ b/10_LA_intro.ipynb @@ -2518,7 +2518,7 @@ " ellipse_axes[1, i] = s[i] * numpy.sin(theta[i])\n", "\n", "axes = fig.add_subplot(1, 2, 2, aspect='equal')\n", - "axes.add_artist(patches.Ellipse((0.0, 0.0), 2 * s[0], 2 * s[1], theta[0] * 180.0 / numpy.pi,\n", + "axes.add_artist(patches.Ellipse(xy=(0.0, 0.0), width=2 * s[0], height=2 * s[1], angle=theta[0] * 180.0 / numpy.pi,\n", " edgecolor='r', facecolor='none'))\n", "for i in range(A.shape[0]):\n", " axes.arrow(0.0, 0.0, ellipse_axes[0, i] - head_length * numpy.cos(theta[i]), \n", @@ -2985,7 +2985,7 @@ "metadata": { "celltoolbar": "Slideshow", "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3", "language": "python", "name": "python3" }, @@ -2999,7 +2999,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.7" + "version": "3.13.7" }, "latex_envs": { "bibliofile": "biblio.bib",