sandkiste/test.ipynb

99 lines
23 KiB
Plaintext
Raw Normal View History

2022-02-11 13:20:58 +01:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"hello, jupyter!\n"
]
}
],
"source": [
"print(\"hello, jupyter!\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Überschrift\n",
"\n",
"Ein Absatz mit `markdown` Markup: Das ist *wichtig*.\n",
"\n",
"| Kann | das |\n",
"|------|-----|\n",
"| auch | Tabellen? |"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Text(0, 0.5, 'sine')"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAfIAAAFdCAYAAAD42+/rAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOzdd3yV5f3/8dcni5AAgUAIAQIhhClTIoqiMgRxVLSOYuvW4sLR1lY7vl22X7Wt1j2wzrq3VnEiiAslIHslhJGwwoYQQtb1+yOHfvPDsJNznfF+Ph555Jx7nPM+ON5c97nv6zbnHCIiIhKeYnwHEBERkcOnIhcREQljKnIREZEwpiIXEREJYypyERGRMKYiFxERCWMqcpEoYma/MbN/+c4hIg3HdB25iIhI+NKIXEREJIypyEUikJndamarzWyHmS0xs5GB5X80s+cCj7PMzJnZpWa2ysw2mtlv67xGjJndZmbLzGyTmb1iZqn7eL/PzOzcwOOhgdc9PfD8FDObHXjc1cw+DbzeRjN73sxaBtbdZmav7fW695nZ/YHHKWb2hJmtDXy2v5hZbMP/6YmEFxW5SIQxsx7ABOAY51xz4FRgxX52GQr0AEYCvzezXoHlNwJnAycD7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JoF9+RRCRCaUQu++Sc47Y35rJ43Xbuv3AgOW2b+Y4UVm4Z3YPRvdP566RFTC/c5DuOiEQoFbns0xNfLOft2Wv4xajuDO/R1necsBMTY9x9QX86t05iwguzWLet3HckEYlAKnKp11fLNnLH+4s59ah0rhumy8wOV/PEeB67aBC
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"from matplotlib import pyplot as plt\n",
"import numpy as np\n",
"import math\n",
"%matplotlib inline\n",
"x = np.arange(0, math.pi*2, 0.05)\n",
"y = np.sin(x)\n",
"fig = plt.figure()\n",
"ax = fig.add_axes([0, 0, 1, 1])\n",
"ax.plot(x, y)\n",
"ax.set_title(\"sine wave\")\n",
"ax.set_xlabel(\"angle\")\n",
"ax.set_ylabel(\"sine\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
}
},
"nbformat": 4,
"nbformat_minor": 4
}