Skip to content

Commit

Permalink
Fix mpl annotate with wrong kwarg in notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Nov 16, 2021
1 parent adb69df commit 98d461b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/coordinates_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
"\n",
" ax.plot(x, y, marker='*', color=f'C{i}')\n",
" ax.annotate(\n",
" s=name, xy=(x, y), xytext=(5, 5),\n",
" name, xy=(x, y), xytext=(5, 5),\n",
" textcoords='offset points', color=f'C{i}',\n",
" )\n",
"\n",
Expand Down Expand Up @@ -387,7 +387,7 @@
" \n",
" plt.plot(star_tel.fov_lon.deg, star_tel.fov_lat.deg, '*', ms=10)\n",
" plt.annotate(\n",
" s=name, xy=(star_tel.fov_lon.deg, star_tel.fov_lat.deg), xytext=(5, 5),\n",
" name, xy=(star_tel.fov_lon.deg, star_tel.fov_lat.deg), xytext=(5, 5),\n",
" textcoords='offset points', color=f'C{i}',\n",
" )\n",
"\n",
Expand Down Expand Up @@ -500,7 +500,7 @@
" ms=10,\n",
" )\n",
" ax.annotate(\n",
" s=name, xy=(s_nom.fov_lon.deg, s_nom.fov_lat.deg), xytext=(5, 5),\n",
" name, xy=(s_nom.fov_lon.deg, s_nom.fov_lat.deg), xytext=(5, 5),\n",
" textcoords='offset points', color=f'C{i}',\n",
" )\n",
"\n",
Expand Down

0 comments on commit 98d461b

Please sign in to comment.