Skip to content

Commit

Permalink
MAINT: apply autofixes by Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Aug 1, 2024
1 parent 2e42d85 commit d9cb508
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/widget.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@
},
"outputs": [],
"source": [
"import re\n",
"from collections import defaultdict\n",
"\n",
"import ipywidgets as w\n",
Expand Down Expand Up @@ -579,9 +578,7 @@
"ax.set_yticks([-1, 0, +1])\n",
"ax.set_yticklabels([\"-1\", \"0\", \"+1\"])\n",
"ax.set_xticks([0, np.pi / 2, np.pi, 3 * np.pi / 2, 2 * np.pi])\n",
"ax.set_xticklabels(\n",
" [\"0\", R\"$\\frac{1}{2}\\pi$\", R\"$\\pi$\", R\"$\\frac{3}{2}\\pi$\", R\"$2\\pi$\"]\n",
")\n",
"ax.set_xticklabels([\"0\", R\"$\\frac{1}{2}\\pi$\", R\"$\\pi$\", R\"$\\frac{3}{2}\\pi$\", R\"$2\\pi$\"])\n",
"fig.canvas.toolbar_visible = False\n",
"fig.canvas.header_visible = False\n",
"fig.canvas.footer_visible = False\n",
Expand Down

0 comments on commit d9cb508

Please sign in to comment.