{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "3d8a9364",
   "metadata": {
    "tags": [
     "plot-line"
    ]
   },
   "outputs": [
    {
     "data": {
      "image/png": "[encoded data, 21544 characters]\n",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import matplotlib.pyplot as plt\n",
    "x=[3,4,5,6,7,8,9,10,11,12]\n",
    "y= [9,16,25,36,49,64,81,100,121,144]\n",
    "plt.plot(x,y)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "176f6946",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "[encoded data, 6328 characters]\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "#| label: plot-dot\n",
    "\n",
    "import matplotlib.pyplot as plt\n",
    "x=[3,4,5,6,7,8,9,10,11,12]\n",
    "y= [9,16,25,36,49,64,81,100,121,144]\n",
    "plt.scatter(x,y)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "ff7727fa",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "[encoded data, 11800 characters]\n",
      "text/plain": [
       "<Figure size 648x360 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import matplotlib.pyplot as plt\n",
    "x=[4,9,16,25,36]\n",
    "fig = plt.figure(figsize =(9, 5)) # line 4\n",
    "plt.pie(x)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "9b3f7a5f",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "[encoded data, 14780 characters]\n",
      "text/plain": [
       "<Figure size 396x396 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import matplotlib.pyplot as plt\n",
    "x=[4,9,16,25,36]\n",
    "fig = plt.figure(figsize =(5.5, 5.5))\n",
    "plt.pie(x, labels=(\"Guavas\", \"Berries\",\"Mangoes\",\"Apples\", \"Avocado\"),\n",
    "colors = ( \"#a86544\", \"#eb5b13\", \"#ebc713\", \"#bdeb13\", \"#8aeb13\"))\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "471ab83a-6593-42ca-8945-f5217037e120",
   "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.8.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
