Skip to content

Commit

Permalink
fix deprecation warnings and errors
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Münker <mail@chipmuenk.de>
  • Loading branch information
chipmuenk committed Oct 9, 2023
1 parent b873a05 commit d63729f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 40 deletions.
49 changes: 12 additions & 37 deletions notebooks/00_Intro/Audio_beat_frequency.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/00_LAB/LAB_1.ipynb
Expand Up @@ -308,7 +308,7 @@
"\n",
"Definieren Sie jetzt mit Hilfe einer list comprehension oder der `np.where()` Funktion die Impulsantwort des Filters und plotten Sie sie als `stem()` Plot über der Zeit $t$. Optional überlagern Sie im gleichen Plot den \"analogen\" Rechteckpuls.\n",
"\n",
"**Tipp:** Sie können das Aussehen des Stemplots ändern z.B. mit `stem(n,y, 'b-', 'ro', 'k')` ('b-' blaue Linien, 'ro' rote Punkte als Marker und 'k' schwarze Grundlinie) "
"**Tipp:** Sie können das Aussehen des Stemplots ändern z.B. mit `stem(n,y, linefmt='b-', markerfmt='ro', basefmt='k')` ('b-' blaue Linien, 'ro' rote Punkte als Marker und 'k' schwarze Grundlinie) "
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions notebooks/00_LAB/LAB_2.ipynb
Expand Up @@ -428,7 +428,7 @@
"f_S1 = 16e3\n",
"t1 = ...\n",
"y1 = ...\n",
"ax.stem(t1, y1, 'r',use_line_collection=True)\n",
"ax.stem(t1, y1, 'r')\n",
"ax.set_xlabel(r\"$k T_S \\; / \\;\\mathrm{s} \\;\\rightarrow$\")\n",
"ax.set_ylabel(r\"$y(k T_S)\\; / \\;\\mathrm{mV} \\;\\rightarrow$\");"
]
Expand Down Expand Up @@ -465,7 +465,7 @@
"y1 = ...\n",
"Y1 = ...\n",
"f1 = ...\n",
"ax.stem(f1, Y1, 'r',use_line_collection=True)\n",
"ax.stem(f1, Y1, 'r')\n",
"ax.set_xlabel(r\"$f \\; / \\;\\mathrm{Hz} \\;\\rightarrow$\")\n",
"ax.set_ylabel(r\"$Y_1(F)\\; / \\;\\mathrm{mV} \\;\\rightarrow$\");\n",
"# ----------- Tabellenausgabe --------------\n",
Expand Down

0 comments on commit d63729f

Please sign in to comment.