{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Third party nbextensions\n", "## impyl" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%matplotlib widget\n", "import ipympl\n", "\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "\n", "x = np.linspace(0, 2 * np.pi, 500)\n", "y1 = np.sin(x)\n", "y2 = np.sin(3 * x)\n", "\n", "fig, ax = plt.subplots()\n", "ax.fill(x, y1, 'b', x, y2, 'r', alpha=0.3)\n", "plt.show()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ipysheet" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "from my_module import load_iris_data" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "df = load_iris_data()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "import ipysheet\n", "sheet = ipysheet.from_dataframe(df)\n", "sheet" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "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.7.6" } }, "nbformat": 4, "nbformat_minor": 2 }