diff --git a/lecture_material/16-viz-1/vis_1.ipynb b/lecture_material/16-viz-1/vis_1.ipynb index 66843b22750272122e81b4c9fc0464ad43dd49a9..39831936ea552af45cf83c5d0612739042220c50 100644 --- a/lecture_material/16-viz-1/vis_1.ipynb +++ b/lecture_material/16-viz-1/vis_1.ipynb @@ -361,7 +361,7 @@ "# Observe that we get a different circle\n", "\n", "# Transform based on ax1, but crop based on ax2\n", - "# Left subplot: plot Circle at (1, 1) with radius 0.3 and crop using ax1\n", + "# Left subplot: plot Circle at (1, 1) with radius 0.3 and crop using ax2\n", "c = plt.Circle((1, 1), 0.3, transform=ax1.transData) # where to position the shape\n", "ax1.add_artist(c) # how to crop the shape\n", "\n", @@ -518,7 +518,7 @@ "\n", "- `ax.transData.transform((x, y))`: converts axes / data coords into raw coordinates\n", "- How to draw an arrow:\n", - " `matplotlib.patches.FancyArrowPatch((<x1>, <y1>), (<x2>, (<y2>)), transform=None, arrowstyle=<STYLE>)`\n", + " `matplotlib.patches.FancyArrowPatch((<x1>, <y1>), (<x2>, <y2>)), transform=None, arrowstyle=<STYLE>)`\n", " - arrowstyle=\"simple,head_width=10,head_length=10\"" ] }, diff --git a/lecture_material/16-viz-1/vis_1_lec_001.ipynb b/lecture_material/16-viz-1/vis_1_lec_001.ipynb index f1f16e67a8d2e58aa7ed1490b1d8cfae36bcb176..e60ae70dc5342eb799e6e9d040f804bf4a880e69 100644 --- a/lecture_material/16-viz-1/vis_1_lec_001.ipynb +++ b/lecture_material/16-viz-1/vis_1_lec_001.ipynb @@ -238,7 +238,7 @@ "# Observe that we get a different circle\n", "\n", "# Transform based on ax1, but crop based on ax2\n", - "# Left subplot: plot Circle at (1, 1) with radius 0.3 and crop using ax1\n", + "# Left subplot: plot Circle at (1, 1) with radius 0.3 and crop using ax2\n", " # where to position the shape \n", " # how to crop the shape\n", "\n", @@ -350,7 +350,7 @@ "\n", "- `ax.transData.transform((x, y))`: converts axes / data coords into raw coordinates\n", "- How to draw an arrow:\n", - " `matplotlib.patches.FancyArrowPatch((<x1>, <y1>), (<x2>, (<y2>)), transform=None, arrowstyle=<STYLE>)`\n", + " `matplotlib.patches.FancyArrowPatch((<x1>, <y1>), (<x2>, <y2>)), transform=None, arrowstyle=<STYLE>)`\n", " - arrowstyle=\"simple,head_width=10,head_length=10\"" ] }, diff --git a/lecture_material/16-viz-1/vis_1_lec_002.ipynb b/lecture_material/16-viz-1/vis_1_lec_002.ipynb index f1f16e67a8d2e58aa7ed1490b1d8cfae36bcb176..e60ae70dc5342eb799e6e9d040f804bf4a880e69 100644 --- a/lecture_material/16-viz-1/vis_1_lec_002.ipynb +++ b/lecture_material/16-viz-1/vis_1_lec_002.ipynb @@ -238,7 +238,7 @@ "# Observe that we get a different circle\n", "\n", "# Transform based on ax1, but crop based on ax2\n", - "# Left subplot: plot Circle at (1, 1) with radius 0.3 and crop using ax1\n", + "# Left subplot: plot Circle at (1, 1) with radius 0.3 and crop using ax2\n", " # where to position the shape \n", " # how to crop the shape\n", "\n", @@ -350,7 +350,7 @@ "\n", "- `ax.transData.transform((x, y))`: converts axes / data coords into raw coordinates\n", "- How to draw an arrow:\n", - " `matplotlib.patches.FancyArrowPatch((<x1>, <y1>), (<x2>, (<y2>)), transform=None, arrowstyle=<STYLE>)`\n", + " `matplotlib.patches.FancyArrowPatch((<x1>, <y1>), (<x2>, <y2>)), transform=None, arrowstyle=<STYLE>)`\n", " - arrowstyle=\"simple,head_width=10,head_length=10\"" ] },