{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "origin_pos": 0
   },
   "source": [
    "# Probability\n",
    ":label:`sec_prob`\n",
    "\n",
    "In some form or another, machine learning is all about making predictions.\n",
    "We might want to predict the *probability* of a patient suffering a heart attack in the next year, given their clinical history. In anomaly detection, we might want to assess how *likely* a set of readings from an airplane's jet engine would be, were it operating normally. In reinforcement learning, we want an agent to act intelligently in an environment. This means we need to think about the probability of getting a high reward under each of the available actions. And when we build recommender systems we also need to think about probability. For example, say *hypothetically* that we worked for a large online bookseller. We might want to estimate the probability that a particular user would buy a particular book. For this we need to use the language of probability.\n",
    "Entire courses, majors, theses, careers, and even departments, are devoted to probability. So naturally, our goal in this section is not to teach the whole subject. Instead we hope to get you off the ground, to teach you just enough that you can start building your first deep learning models, and to give you enough of a flavor for the subject that you can begin to explore it on your own if you wish.\n",
    "\n",
    "We have already invoked probabilities in previous sections without articulating what precisely they are or giving a concrete example. Let us get more serious now by considering the first case: distinguishing cats and dogs based on photographs. This might sound simple but it is actually a formidable challenge. To start with, the difficulty of the problem may depend on the resolution of the image.\n",
    "\n",
    "![Images of varying resolutions ($10 \\times 10$, $20 \\times 20$, $40 \\times 40$, $80 \\times 80$, and $160 \\times 160$ pixels).](../img/cat-dog-pixels.png)\n",
    ":width:`300px`\n",
    ":label:`fig_cat_dog`\n",
    "\n",
    "As shown in :numref:`fig_cat_dog`,\n",
    "while it is easy for humans to recognize cats and dogs at the resolution of $160 \\times 160$ pixels,\n",
    "it becomes challenging at $40 \\times 40$ pixels and next to impossible at $10 \\times 10$ pixels. In\n",
    "other words, our ability to tell cats and dogs apart at a large distance (and thus low resolution) might approach uninformed guessing. Probability gives us a\n",
    "formal way of reasoning about our level of certainty.\n",
    "If we are completely sure\n",
    "that the image depicts a cat, we say that the *probability* that the corresponding label $y$ is \"cat\", denoted $P(y=$ \"cat\"$)$ equals $1$.\n",
    "If we had no evidence to suggest that $y =$ \"cat\" or that $y =$ \"dog\", then we might say that the two possibilities were equally\n",
    "*likely* expressing this as $P(y=$ \"cat\"$) = P(y=$ \"dog\"$) = 0.5$. If we were reasonably\n",
    "confident, but not sure that the image depicted a cat, we might assign a\n",
    "probability $0.5  < P(y=$ \"cat\"$) < 1$.\n",
    "\n",
    "Now consider the second case: given some weather monitoring data, we want to predict the probability that it will rain in Taipei tomorrow. If it is summertime, the rain might come with probability 0.5.\n",
    "\n",
    "In both cases, we have some value of interest. And in both cases we are uncertain about the outcome.\n",
    "But there is a key difference between the two cases. In this first case, the image is in fact either a dog or a cat, and we just do not know which. In the second case, the outcome may actually be a random event, if you believe in such things (and most physicists do). So probability is a flexible language for reasoning about our level of certainty, and it can be applied effectively in a broad set of contexts.\n",
    "\n",
    "## Basic Probability Theory\n",
    "\n",
    "Say that we cast a die and want to know what the chance is of seeing a 1 rather than another digit. If the die is fair, all the six outcomes $\\{1, \\ldots, 6\\}$ are equally likely to occur, and thus we would see a $1$ in one out of six cases. Formally we state that $1$ occurs with probability $\\frac{1}{6}$.\n",
    "\n",
    "For a real die that we receive from a factory, we might not know those proportions and we would need to check whether it is tainted. The only way to investigate the die is by casting it many times and recording the outcomes. For each cast of the die, we will observe a value in $\\{1, \\ldots, 6\\}$. Given these outcomes, we want to investigate the probability of observing each outcome.\n",
    "\n",
    "One natural approach for each value is to take the\n",
    "individual count for that value and to divide it by the total number of tosses.\n",
    "This gives us an *estimate* of the probability of a given *event*. The *law of\n",
    "large numbers* tell us that as the number of tosses grows this estimate will draw closer and closer to the true underlying probability. Before going into the details of what is going here, let us try it out.\n",
    "\n",
    "To start, let us import the necessary packages.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "origin_pos": 3,
    "tab": [
     "tensorflow"
    ]
   },
   "outputs": [],
   "source": [
    "%matplotlib inline\n",
    "import numpy as np\n",
    "import tensorflow as tf\n",
    "import tensorflow_probability as tfp\n",
    "from d2l import tensorflow as d2l"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "origin_pos": 4
   },
   "source": [
    "Next, we will want to be able to cast the die. In statistics we call this process\n",
    "of drawing examples from probability distributions *sampling*.\n",
    "The distribution\n",
    "that assigns probabilities to a number of discrete choices is called the\n",
    "*multinomial distribution*. We will give a more formal definition of\n",
    "*distribution* later, but at a high level, think of it as just an assignment of\n",
    "probabilities to events.\n",
    "\n",
    "To draw a single sample, we simply pass in a vector of probabilities.\n",
    "The output is another vector of the same length:\n",
    "its value at index $i$ is the number of times the sampling outcome corresponds to $i$.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "origin_pos": 7,
    "tab": [
     "tensorflow"
    ]
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<tf.Tensor: shape=(6,), dtype=float32, numpy=array([0., 1., 0., 0., 0., 0.], dtype=float32)>"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "fair_probs = tf.ones(6) / 6\n",
    "tfp.distributions.Multinomial(1, fair_probs).sample()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "origin_pos": 8
   },
   "source": [
    "If you run the sampler a bunch of times, you will find that you get out random\n",
    "values each time. As with estimating the fairness of a die, we often want to\n",
    "generate many samples from the same distribution. It would be unbearably slow to\n",
    "do this with a Python `for` loop, so the function we are using supports drawing\n",
    "multiple samples at once, returning an array of independent samples in any shape\n",
    "we might desire.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "origin_pos": 11,
    "tab": [
     "tensorflow"
    ]
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<tf.Tensor: shape=(6,), dtype=float32, numpy=array([2., 1., 2., 3., 0., 2.], dtype=float32)>"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "tfp.distributions.Multinomial(10, fair_probs).sample()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "origin_pos": 12
   },
   "source": [
    "Now that we know how to sample rolls of a die, we can simulate 1000 rolls. We\n",
    "can then go through and count, after each of the 1000 rolls, how many times each\n",
    "number was rolled.\n",
    "Specifically, we calculate the relative frequency as the estimate of the true probability.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "origin_pos": 15,
    "tab": [
     "tensorflow"
    ]
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<tf.Tensor: shape=(6,), dtype=float32, numpy=array([0.18 , 0.162, 0.181, 0.156, 0.151, 0.17 ], dtype=float32)>"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "counts = tfp.distributions.Multinomial(1000, fair_probs).sample()\n",
    "counts / 1000"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "origin_pos": 16
   },
   "source": [
    "Because we generated the data from a fair die, we know that each outcome has true probability $\\frac{1}{6}$, roughly $0.167$, so the above output estimates look good.\n",
    "\n",
    "We can also visualize how these probabilities converge over time towards the true probability.\n",
    "Let us conduct 500 groups of experiments where each group draws 10 samples.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "origin_pos": 19,
    "tab": [
     "tensorflow"
    ]
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       "  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"392.14375pt\" height=\"289.37625pt\" viewBox=\"0 0 392.14375 289.37625\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n",
       " <metadata>\n",
       "  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n",
       "   <cc:Work>\n",
       "    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n",
       "    <dc:date>2022-03-24T13:02:55.603688</dc:date>\n",
       "    <dc:format>image/svg+xml</dc:format>\n",
       "    <dc:creator>\n",
       "     <cc:Agent>\n",
       "      <dc:title>Matplotlib v3.5.1, https://matplotlib.org/</dc:title>\n",
       "     </cc:Agent>\n",
       "    </dc:creator>\n",
       "   </cc:Work>\n",
       "  </rdf:RDF>\n",
       " </metadata>\n",
       " <defs>\n",
       "  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n",
       " </defs>\n",
       " <g id=\"figure_1\">\n",
       "  <g id=\"patch_1\">\n",
       "   <path d=\"M 0 289.37625 \n",
       "L 392.14375 289.37625 \n",
       "L 392.14375 0 \n",
       "L 0 0 \n",
       "L 0 289.37625 \n",
       "z\n",
       "\" style=\"fill: none\"/>\n",
       "  </g>\n",
       "  <g id=\"axes_1\">\n",
       "   <g id=\"patch_2\">\n",
       "    <path d=\"M 50.14375 251.82 \n",
       "L 384.94375 251.82 \n",
       "L 384.94375 7.2 \n",
       "L 50.14375 7.2 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "   </g>\n",
       "   <g id=\"matplotlib.axis_1\">\n",
       "    <g id=\"xtick_1\">\n",
       "     <g id=\"line2d_1\">\n",
       "      <defs>\n",
       "       <path id=\"m17b19fd45b\" d=\"M 0 0 \n",
       "L 0 3.5 \n",
       "\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </defs>\n",
       "      <g>\n",
       "       <use xlink:href=\"#m17b19fd45b\" x=\"65.361932\" y=\"251.82\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_1\">\n",
       "      <!-- 0 -->\n",
       "      <g transform=\"translate(62.180682 266.418437)scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-30\" d=\"M 2034 4250 \n",
       "Q 1547 4250 1301 3770 \n",
       "Q 1056 3291 1056 2328 \n",
       "Q 1056 1369 1301 889 \n",
       "Q 1547 409 2034 409 \n",
       "Q 2525 409 2770 889 \n",
       "Q 3016 1369 3016 2328 \n",
       "Q 3016 3291 2770 3770 \n",
       "Q 2525 4250 2034 4250 \n",
       "z\n",
       "M 2034 4750 \n",
       "Q 2819 4750 3233 4129 \n",
       "Q 3647 3509 3647 2328 \n",
       "Q 3647 1150 3233 529 \n",
       "Q 2819 -91 2034 -91 \n",
       "Q 1250 -91 836 529 \n",
       "Q 422 1150 422 2328 \n",
       "Q 422 3509 836 4129 \n",
       "Q 1250 4750 2034 4750 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_2\">\n",
       "     <g id=\"line2d_2\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#m17b19fd45b\" x=\"126.356649\" y=\"251.82\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_2\">\n",
       "      <!-- 100 -->\n",
       "      <g transform=\"translate(116.812899 266.418437)scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-31\" d=\"M 794 531 \n",
       "L 1825 531 \n",
       "L 1825 4091 \n",
       "L 703 3866 \n",
       "L 703 4441 \n",
       "L 1819 4666 \n",
       "L 2450 4666 \n",
       "L 2450 531 \n",
       "L 3481 531 \n",
       "L 3481 0 \n",
       "L 794 0 \n",
       "L 794 531 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-31\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"127.246094\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_3\">\n",
       "     <g id=\"line2d_3\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#m17b19fd45b\" x=\"187.351365\" y=\"251.82\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_3\">\n",
       "      <!-- 200 -->\n",
       "      <g transform=\"translate(177.807615 266.418437)scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-32\" d=\"M 1228 531 \n",
       "L 3431 531 \n",
       "L 3431 0 \n",
       "L 469 0 \n",
       "L 469 531 \n",
       "Q 828 903 1448 1529 \n",
       "Q 2069 2156 2228 2338 \n",
       "Q 2531 2678 2651 2914 \n",
       "Q 2772 3150 2772 3378 \n",
       "Q 2772 3750 2511 3984 \n",
       "Q 2250 4219 1831 4219 \n",
       "Q 1534 4219 1204 4116 \n",
       "Q 875 4013 500 3803 \n",
       "L 500 4441 \n",
       "Q 881 4594 1212 4672 \n",
       "Q 1544 4750 1819 4750 \n",
       "Q 2544 4750 2975 4387 \n",
       "Q 3406 4025 3406 3419 \n",
       "Q 3406 3131 3298 2873 \n",
       "Q 3191 2616 2906 2266 \n",
       "Q 2828 2175 2409 1742 \n",
       "Q 1991 1309 1228 531 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-32\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"127.246094\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_4\">\n",
       "     <g id=\"line2d_4\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#m17b19fd45b\" x=\"248.346082\" y=\"251.82\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_4\">\n",
       "      <!-- 300 -->\n",
       "      <g transform=\"translate(238.802332 266.418437)scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-33\" d=\"M 2597 2516 \n",
       "Q 3050 2419 3304 2112 \n",
       "Q 3559 1806 3559 1356 \n",
       "Q 3559 666 3084 287 \n",
       "Q 2609 -91 1734 -91 \n",
       "Q 1441 -91 1130 -33 \n",
       "Q 819 25 488 141 \n",
       "L 488 750 \n",
       "Q 750 597 1062 519 \n",
       "Q 1375 441 1716 441 \n",
       "Q 2309 441 2620 675 \n",
       "Q 2931 909 2931 1356 \n",
       "Q 2931 1769 2642 2001 \n",
       "Q 2353 2234 1838 2234 \n",
       "L 1294 2234 \n",
       "L 1294 2753 \n",
       "L 1863 2753 \n",
       "Q 2328 2753 2575 2939 \n",
       "Q 2822 3125 2822 3475 \n",
       "Q 2822 3834 2567 4026 \n",
       "Q 2313 4219 1838 4219 \n",
       "Q 1578 4219 1281 4162 \n",
       "Q 984 4106 628 3988 \n",
       "L 628 4550 \n",
       "Q 988 4650 1302 4700 \n",
       "Q 1616 4750 1894 4750 \n",
       "Q 2613 4750 3031 4423 \n",
       "Q 3450 4097 3450 3541 \n",
       "Q 3450 3153 3228 2886 \n",
       "Q 3006 2619 2597 2516 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-33\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"127.246094\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_5\">\n",
       "     <g id=\"line2d_5\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#m17b19fd45b\" x=\"309.340799\" y=\"251.82\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_5\">\n",
       "      <!-- 400 -->\n",
       "      <g transform=\"translate(299.797049 266.418437)scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-34\" d=\"M 2419 4116 \n",
       "L 825 1625 \n",
       "L 2419 1625 \n",
       "L 2419 4116 \n",
       "z\n",
       "M 2253 4666 \n",
       "L 3047 4666 \n",
       "L 3047 1625 \n",
       "L 3713 1625 \n",
       "L 3713 1100 \n",
       "L 3047 1100 \n",
       "L 3047 0 \n",
       "L 2419 0 \n",
       "L 2419 1100 \n",
       "L 313 1100 \n",
       "L 313 1709 \n",
       "L 2253 4666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-34\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"127.246094\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_6\">\n",
       "     <g id=\"line2d_6\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#m17b19fd45b\" x=\"370.335515\" y=\"251.82\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_6\">\n",
       "      <!-- 500 -->\n",
       "      <g transform=\"translate(360.791765 266.418437)scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-35\" d=\"M 691 4666 \n",
       "L 3169 4666 \n",
       "L 3169 4134 \n",
       "L 1269 4134 \n",
       "L 1269 2991 \n",
       "Q 1406 3038 1543 3061 \n",
       "Q 1681 3084 1819 3084 \n",
       "Q 2600 3084 3056 2656 \n",
       "Q 3513 2228 3513 1497 \n",
       "Q 3513 744 3044 326 \n",
       "Q 2575 -91 1722 -91 \n",
       "Q 1428 -91 1123 -41 \n",
       "Q 819 9 494 109 \n",
       "L 494 744 \n",
       "Q 775 591 1075 516 \n",
       "Q 1375 441 1709 441 \n",
       "Q 2250 441 2565 725 \n",
       "Q 2881 1009 2881 1497 \n",
       "Q 2881 1984 2565 2268 \n",
       "Q 2250 2553 1709 2553 \n",
       "Q 1456 2553 1204 2497 \n",
       "Q 953 2441 691 2322 \n",
       "L 691 4666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-35\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"127.246094\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"text_7\">\n",
       "     <!-- Groups of experiments -->\n",
       "     <g transform=\"translate(160.397656 280.096562)scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-47\" d=\"M 3809 666 \n",
       "L 3809 1919 \n",
       "L 2778 1919 \n",
       "L 2778 2438 \n",
       "L 4434 2438 \n",
       "L 4434 434 \n",
       "Q 4069 175 3628 42 \n",
       "Q 3188 -91 2688 -91 \n",
       "Q 1594 -91 976 548 \n",
       "Q 359 1188 359 2328 \n",
       "Q 359 3472 976 4111 \n",
       "Q 1594 4750 2688 4750 \n",
       "Q 3144 4750 3555 4637 \n",
       "Q 3966 4525 4313 4306 \n",
       "L 4313 3634 \n",
       "Q 3963 3931 3569 4081 \n",
       "Q 3175 4231 2741 4231 \n",
       "Q 1884 4231 1454 3753 \n",
       "Q 1025 3275 1025 2328 \n",
       "Q 1025 1384 1454 906 \n",
       "Q 1884 428 2741 428 \n",
       "Q 3075 428 3337 486 \n",
       "Q 3600 544 3809 666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-72\" d=\"M 2631 2963 \n",
       "Q 2534 3019 2420 3045 \n",
       "Q 2306 3072 2169 3072 \n",
       "Q 1681 3072 1420 2755 \n",
       "Q 1159 2438 1159 1844 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2956 \n",
       "Q 1341 3275 1631 3429 \n",
       "Q 1922 3584 2338 3584 \n",
       "Q 2397 3584 2469 3576 \n",
       "Q 2541 3569 2628 3553 \n",
       "L 2631 2963 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6f\" d=\"M 1959 3097 \n",
       "Q 1497 3097 1228 2736 \n",
       "Q 959 2375 959 1747 \n",
       "Q 959 1119 1226 758 \n",
       "Q 1494 397 1959 397 \n",
       "Q 2419 397 2687 759 \n",
       "Q 2956 1122 2956 1747 \n",
       "Q 2956 2369 2687 2733 \n",
       "Q 2419 3097 1959 3097 \n",
       "z\n",
       "M 1959 3584 \n",
       "Q 2709 3584 3137 3096 \n",
       "Q 3566 2609 3566 1747 \n",
       "Q 3566 888 3137 398 \n",
       "Q 2709 -91 1959 -91 \n",
       "Q 1206 -91 779 398 \n",
       "Q 353 888 353 1747 \n",
       "Q 353 2609 779 3096 \n",
       "Q 1206 3584 1959 3584 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-75\" d=\"M 544 1381 \n",
       "L 544 3500 \n",
       "L 1119 3500 \n",
       "L 1119 1403 \n",
       "Q 1119 906 1312 657 \n",
       "Q 1506 409 1894 409 \n",
       "Q 2359 409 2629 706 \n",
       "Q 2900 1003 2900 1516 \n",
       "L 2900 3500 \n",
       "L 3475 3500 \n",
       "L 3475 0 \n",
       "L 2900 0 \n",
       "L 2900 538 \n",
       "Q 2691 219 2414 64 \n",
       "Q 2138 -91 1772 -91 \n",
       "Q 1169 -91 856 284 \n",
       "Q 544 659 544 1381 \n",
       "z\n",
       "M 1991 3584 \n",
       "L 1991 3584 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-70\" d=\"M 1159 525 \n",
       "L 1159 -1331 \n",
       "L 581 -1331 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2969 \n",
       "Q 1341 3281 1617 3432 \n",
       "Q 1894 3584 2278 3584 \n",
       "Q 2916 3584 3314 3078 \n",
       "Q 3713 2572 3713 1747 \n",
       "Q 3713 922 3314 415 \n",
       "Q 2916 -91 2278 -91 \n",
       "Q 1894 -91 1617 61 \n",
       "Q 1341 213 1159 525 \n",
       "z\n",
       "M 3116 1747 \n",
       "Q 3116 2381 2855 2742 \n",
       "Q 2594 3103 2138 3103 \n",
       "Q 1681 3103 1420 2742 \n",
       "Q 1159 2381 1159 1747 \n",
       "Q 1159 1113 1420 752 \n",
       "Q 1681 391 2138 391 \n",
       "Q 2594 391 2855 752 \n",
       "Q 3116 1113 3116 1747 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-73\" d=\"M 2834 3397 \n",
       "L 2834 2853 \n",
       "Q 2591 2978 2328 3040 \n",
       "Q 2066 3103 1784 3103 \n",
       "Q 1356 3103 1142 2972 \n",
       "Q 928 2841 928 2578 \n",
       "Q 928 2378 1081 2264 \n",
       "Q 1234 2150 1697 2047 \n",
       "L 1894 2003 \n",
       "Q 2506 1872 2764 1633 \n",
       "Q 3022 1394 3022 966 \n",
       "Q 3022 478 2636 193 \n",
       "Q 2250 -91 1575 -91 \n",
       "Q 1294 -91 989 -36 \n",
       "Q 684 19 347 128 \n",
       "L 347 722 \n",
       "Q 666 556 975 473 \n",
       "Q 1284 391 1588 391 \n",
       "Q 1994 391 2212 530 \n",
       "Q 2431 669 2431 922 \n",
       "Q 2431 1156 2273 1281 \n",
       "Q 2116 1406 1581 1522 \n",
       "L 1381 1569 \n",
       "Q 847 1681 609 1914 \n",
       "Q 372 2147 372 2553 \n",
       "Q 372 3047 722 3315 \n",
       "Q 1072 3584 1716 3584 \n",
       "Q 2034 3584 2315 3537 \n",
       "Q 2597 3491 2834 3397 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-20\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-66\" d=\"M 2375 4863 \n",
       "L 2375 4384 \n",
       "L 1825 4384 \n",
       "Q 1516 4384 1395 4259 \n",
       "Q 1275 4134 1275 3809 \n",
       "L 1275 3500 \n",
       "L 2222 3500 \n",
       "L 2222 3053 \n",
       "L 1275 3053 \n",
       "L 1275 0 \n",
       "L 697 0 \n",
       "L 697 3053 \n",
       "L 147 3053 \n",
       "L 147 3500 \n",
       "L 697 3500 \n",
       "L 697 3744 \n",
       "Q 697 4328 969 4595 \n",
       "Q 1241 4863 1831 4863 \n",
       "L 2375 4863 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-65\" d=\"M 3597 1894 \n",
       "L 3597 1613 \n",
       "L 953 1613 \n",
       "Q 991 1019 1311 708 \n",
       "Q 1631 397 2203 397 \n",
       "Q 2534 397 2845 478 \n",
       "Q 3156 559 3463 722 \n",
       "L 3463 178 \n",
       "Q 3153 47 2828 -22 \n",
       "Q 2503 -91 2169 -91 \n",
       "Q 1331 -91 842 396 \n",
       "Q 353 884 353 1716 \n",
       "Q 353 2575 817 3079 \n",
       "Q 1281 3584 2069 3584 \n",
       "Q 2775 3584 3186 3129 \n",
       "Q 3597 2675 3597 1894 \n",
       "z\n",
       "M 3022 2063 \n",
       "Q 3016 2534 2758 2815 \n",
       "Q 2500 3097 2075 3097 \n",
       "Q 1594 3097 1305 2825 \n",
       "Q 1016 2553 972 2059 \n",
       "L 3022 2063 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-78\" d=\"M 3513 3500 \n",
       "L 2247 1797 \n",
       "L 3578 0 \n",
       "L 2900 0 \n",
       "L 1881 1375 \n",
       "L 863 0 \n",
       "L 184 0 \n",
       "L 1544 1831 \n",
       "L 300 3500 \n",
       "L 978 3500 \n",
       "L 1906 2253 \n",
       "L 2834 3500 \n",
       "L 3513 3500 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-69\" d=\"M 603 3500 \n",
       "L 1178 3500 \n",
       "L 1178 0 \n",
       "L 603 0 \n",
       "L 603 3500 \n",
       "z\n",
       "M 603 4863 \n",
       "L 1178 4863 \n",
       "L 1178 4134 \n",
       "L 603 4134 \n",
       "L 603 4863 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6d\" d=\"M 3328 2828 \n",
       "Q 3544 3216 3844 3400 \n",
       "Q 4144 3584 4550 3584 \n",
       "Q 5097 3584 5394 3201 \n",
       "Q 5691 2819 5691 2113 \n",
       "L 5691 0 \n",
       "L 5113 0 \n",
       "L 5113 2094 \n",
       "Q 5113 2597 4934 2840 \n",
       "Q 4756 3084 4391 3084 \n",
       "Q 3944 3084 3684 2787 \n",
       "Q 3425 2491 3425 1978 \n",
       "L 3425 0 \n",
       "L 2847 0 \n",
       "L 2847 2094 \n",
       "Q 2847 2600 2669 2842 \n",
       "Q 2491 3084 2119 3084 \n",
       "Q 1678 3084 1418 2786 \n",
       "Q 1159 2488 1159 1978 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2956 \n",
       "Q 1356 3278 1631 3431 \n",
       "Q 1906 3584 2284 3584 \n",
       "Q 2666 3584 2933 3390 \n",
       "Q 3200 3197 3328 2828 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6e\" d=\"M 3513 2113 \n",
       "L 3513 0 \n",
       "L 2938 0 \n",
       "L 2938 2094 \n",
       "Q 2938 2591 2744 2837 \n",
       "Q 2550 3084 2163 3084 \n",
       "Q 1697 3084 1428 2787 \n",
       "Q 1159 2491 1159 1978 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2956 \n",
       "Q 1366 3272 1645 3428 \n",
       "Q 1925 3584 2291 3584 \n",
       "Q 2894 3584 3203 3211 \n",
       "Q 3513 2838 3513 2113 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-74\" d=\"M 1172 4494 \n",
       "L 1172 3500 \n",
       "L 2356 3500 \n",
       "L 2356 3053 \n",
       "L 1172 3053 \n",
       "L 1172 1153 \n",
       "Q 1172 725 1289 603 \n",
       "Q 1406 481 1766 481 \n",
       "L 2356 481 \n",
       "L 2356 0 \n",
       "L 1766 0 \n",
       "Q 1100 0 847 248 \n",
       "Q 594 497 594 1153 \n",
       "L 594 3053 \n",
       "L 172 3053 \n",
       "L 172 3500 \n",
       "L 594 3500 \n",
       "L 594 4494 \n",
       "L 1172 4494 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-47\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-72\" x=\"77.490234\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6f\" x=\"116.353516\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-75\" x=\"177.535156\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-70\" x=\"240.914062\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"304.390625\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-20\" x=\"356.490234\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6f\" x=\"388.277344\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-66\" x=\"449.458984\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-20\" x=\"484.664062\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"516.451172\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-78\" x=\"576.224609\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-70\" x=\"635.404297\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"698.880859\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-72\" x=\"760.404297\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"801.517578\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6d\" x=\"829.300781\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"926.712891\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6e\" x=\"988.236328\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-74\" x=\"1051.615234\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"1090.824219\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"matplotlib.axis_2\">\n",
       "    <g id=\"ytick_1\">\n",
       "     <g id=\"line2d_7\">\n",
       "      <defs>\n",
       "       <path id=\"mddeea7fe85\" d=\"M 0 0 \n",
       "L -3.5 0 \n",
       "\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </defs>\n",
       "      <g>\n",
       "       <use xlink:href=\"#mddeea7fe85\" x=\"50.14375\" y=\"240.700909\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_8\">\n",
       "      <!-- 0.00 -->\n",
       "      <g transform=\"translate(20.878125 244.500128)scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-2e\" d=\"M 684 794 \n",
       "L 1344 794 \n",
       "L 1344 0 \n",
       "L 684 0 \n",
       "L 684 794 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"95.410156\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"159.033203\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_2\">\n",
       "     <g id=\"line2d_8\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#mddeea7fe85\" x=\"50.14375\" y=\"203.637274\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_9\">\n",
       "      <!-- 0.05 -->\n",
       "      <g transform=\"translate(20.878125 207.436493)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"95.410156\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-35\" x=\"159.033203\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_3\">\n",
       "     <g id=\"line2d_9\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#mddeea7fe85\" x=\"50.14375\" y=\"166.573639\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_10\">\n",
       "      <!-- 0.10 -->\n",
       "      <g transform=\"translate(20.878125 170.372858)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-31\" x=\"95.410156\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"159.033203\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_4\">\n",
       "     <g id=\"line2d_10\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#mddeea7fe85\" x=\"50.14375\" y=\"129.510004\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_11\">\n",
       "      <!-- 0.15 -->\n",
       "      <g transform=\"translate(20.878125 133.309223)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-31\" x=\"95.410156\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-35\" x=\"159.033203\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_5\">\n",
       "     <g id=\"line2d_11\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#mddeea7fe85\" x=\"50.14375\" y=\"92.44637\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_12\">\n",
       "      <!-- 0.20 -->\n",
       "      <g transform=\"translate(20.878125 96.245588)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-32\" x=\"95.410156\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"159.033203\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_6\">\n",
       "     <g id=\"line2d_12\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#mddeea7fe85\" x=\"50.14375\" y=\"55.382735\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_13\">\n",
       "      <!-- 0.25 -->\n",
       "      <g transform=\"translate(20.878125 59.181953)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-32\" x=\"95.410156\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-35\" x=\"159.033203\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_7\">\n",
       "     <g id=\"line2d_13\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#mddeea7fe85\" x=\"50.14375\" y=\"18.3191\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_14\">\n",
       "      <!-- 0.30 -->\n",
       "      <g transform=\"translate(20.878125 22.118318)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-33\" x=\"95.410156\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"159.033203\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"text_15\">\n",
       "     <!-- Estimated probability -->\n",
       "     <g transform=\"translate(14.798438 183.033437)rotate(-90)scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-45\" d=\"M 628 4666 \n",
       "L 3578 4666 \n",
       "L 3578 4134 \n",
       "L 1259 4134 \n",
       "L 1259 2753 \n",
       "L 3481 2753 \n",
       "L 3481 2222 \n",
       "L 1259 2222 \n",
       "L 1259 531 \n",
       "L 3634 531 \n",
       "L 3634 0 \n",
       "L 628 0 \n",
       "L 628 4666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-61\" d=\"M 2194 1759 \n",
       "Q 1497 1759 1228 1600 \n",
       "Q 959 1441 959 1056 \n",
       "Q 959 750 1161 570 \n",
       "Q 1363 391 1709 391 \n",
       "Q 2188 391 2477 730 \n",
       "Q 2766 1069 2766 1631 \n",
       "L 2766 1759 \n",
       "L 2194 1759 \n",
       "z\n",
       "M 3341 1997 \n",
       "L 3341 0 \n",
       "L 2766 0 \n",
       "L 2766 531 \n",
       "Q 2569 213 2275 61 \n",
       "Q 1981 -91 1556 -91 \n",
       "Q 1019 -91 701 211 \n",
       "Q 384 513 384 1019 \n",
       "Q 384 1609 779 1909 \n",
       "Q 1175 2209 1959 2209 \n",
       "L 2766 2209 \n",
       "L 2766 2266 \n",
       "Q 2766 2663 2505 2880 \n",
       "Q 2244 3097 1772 3097 \n",
       "Q 1472 3097 1187 3025 \n",
       "Q 903 2953 641 2809 \n",
       "L 641 3341 \n",
       "Q 956 3463 1253 3523 \n",
       "Q 1550 3584 1831 3584 \n",
       "Q 2591 3584 2966 3190 \n",
       "Q 3341 2797 3341 1997 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-64\" d=\"M 2906 2969 \n",
       "L 2906 4863 \n",
       "L 3481 4863 \n",
       "L 3481 0 \n",
       "L 2906 0 \n",
       "L 2906 525 \n",
       "Q 2725 213 2448 61 \n",
       "Q 2172 -91 1784 -91 \n",
       "Q 1150 -91 751 415 \n",
       "Q 353 922 353 1747 \n",
       "Q 353 2572 751 3078 \n",
       "Q 1150 3584 1784 3584 \n",
       "Q 2172 3584 2448 3432 \n",
       "Q 2725 3281 2906 2969 \n",
       "z\n",
       "M 947 1747 \n",
       "Q 947 1113 1208 752 \n",
       "Q 1469 391 1925 391 \n",
       "Q 2381 391 2643 752 \n",
       "Q 2906 1113 2906 1747 \n",
       "Q 2906 2381 2643 2742 \n",
       "Q 2381 3103 1925 3103 \n",
       "Q 1469 3103 1208 2742 \n",
       "Q 947 2381 947 1747 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-62\" d=\"M 3116 1747 \n",
       "Q 3116 2381 2855 2742 \n",
       "Q 2594 3103 2138 3103 \n",
       "Q 1681 3103 1420 2742 \n",
       "Q 1159 2381 1159 1747 \n",
       "Q 1159 1113 1420 752 \n",
       "Q 1681 391 2138 391 \n",
       "Q 2594 391 2855 752 \n",
       "Q 3116 1113 3116 1747 \n",
       "z\n",
       "M 1159 2969 \n",
       "Q 1341 3281 1617 3432 \n",
       "Q 1894 3584 2278 3584 \n",
       "Q 2916 3584 3314 3078 \n",
       "Q 3713 2572 3713 1747 \n",
       "Q 3713 922 3314 415 \n",
       "Q 2916 -91 2278 -91 \n",
       "Q 1894 -91 1617 61 \n",
       "Q 1341 213 1159 525 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 4863 \n",
       "L 1159 4863 \n",
       "L 1159 2969 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6c\" d=\"M 603 4863 \n",
       "L 1178 4863 \n",
       "L 1178 0 \n",
       "L 603 0 \n",
       "L 603 4863 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-79\" d=\"M 2059 -325 \n",
       "Q 1816 -950 1584 -1140 \n",
       "Q 1353 -1331 966 -1331 \n",
       "L 506 -1331 \n",
       "L 506 -850 \n",
       "L 844 -850 \n",
       "Q 1081 -850 1212 -737 \n",
       "Q 1344 -625 1503 -206 \n",
       "L 1606 56 \n",
       "L 191 3500 \n",
       "L 800 3500 \n",
       "L 1894 763 \n",
       "L 2988 3500 \n",
       "L 3597 3500 \n",
       "L 2059 -325 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-45\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"63.183594\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-74\" x=\"115.283203\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"154.492188\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6d\" x=\"182.275391\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"279.6875\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-74\" x=\"340.966797\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"380.175781\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-64\" x=\"441.699219\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-20\" x=\"505.175781\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-70\" x=\"536.962891\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-72\" x=\"600.439453\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6f\" x=\"639.302734\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-62\" x=\"700.484375\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"763.960938\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-62\" x=\"825.240234\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"888.716797\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6c\" x=\"916.5\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"944.283203\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-74\" x=\"972.066406\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-79\" x=\"1011.275391\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"line2d_14\">\n",
       "    <path d=\"M 65.361932 18.319091 \n",
       "L 66.581826 92.446367 \n",
       "L 67.191773 73.914557 \n",
       "L 67.80172 77.620916 \n",
       "L 68.411668 104.800912 \n",
       "L 69.021615 103.035977 \n",
       "L 69.631562 110.978189 \n",
       "L 70.241509 108.919093 \n",
       "L 70.851456 92.446367 \n",
       "L 71.461403 99.185215 \n",
       "L 72.071351 98.623645 \n",
       "L 73.291245 108.330781 \n",
       "L 73.901192 117.155456 \n",
       "L 74.511139 110.978189 \n",
       "L 75.731034 125.391819 \n",
       "L 76.340981 123.657856 \n",
       "L 76.950928 107.271818 \n",
       "L 77.560875 106.565846 \n",
       "L 78.170822 109.29348 \n",
       "L 79.390717 107.889556 \n",
       "L 80.000664 107.271818 \n",
       "L 80.610611 109.552659 \n",
       "L 82.440452 107.783041 \n",
       "L 83.660347 106.793578 \n",
       "L 84.270294 108.661714 \n",
       "L 84.880241 108.170341 \n",
       "L 85.490188 103.347436 \n",
       "L 86.100135 100.918061 \n",
       "L 86.710083 104.800912 \n",
       "L 87.32003 104.467007 \n",
       "L 87.929977 108.052106 \n",
       "L 88.539924 109.552659 \n",
       "L 89.149871 112.831369 \n",
       "L 89.759819 112.334175 \n",
       "L 90.369766 113.625586 \n",
       "L 90.979713 116.58083 \n",
       "L 92.809554 119.841226 \n",
       "L 93.419502 119.25836 \n",
       "L 94.029449 114.066822 \n",
       "L 94.639396 112.112783 \n",
       "L 96.469237 110.978189 \n",
       "L 97.689132 113.037274 \n",
       "L 98.299079 112.662898 \n",
       "L 98.909026 108.330781 \n",
       "L 99.518973 109.352586 \n",
       "L 100.12892 109.061098 \n",
       "L 100.738868 111.292288 \n",
       "L 101.348815 112.213643 \n",
       "L 101.958762 111.889591 \n",
       "L 102.568709 112.771589 \n",
       "L 103.178656 111.272339 \n",
       "L 105.008498 110.416619 \n",
       "L 106.838339 112.858222 \n",
       "L 107.448286 112.566634 \n",
       "L 108.058234 114.371334 \n",
       "L 108.668181 114.066822 \n",
       "L 109.278128 115.801536 \n",
       "L 109.888075 114.484211 \n",
       "L 111.107969 115.854976 \n",
       "L 111.717917 114.588285 \n",
       "L 112.327864 114.304407 \n",
       "L 112.937811 115.904362 \n",
       "L 114.157705 115.325152 \n",
       "L 114.767652 112.334175 \n",
       "L 115.3776 112.987657 \n",
       "L 115.987547 111.860651 \n",
       "L 116.597494 112.504335 \n",
       "L 117.207441 111.409164 \n",
       "L 117.817388 112.043239 \n",
       "L 119.037283 111.602853 \n",
       "L 119.64723 110.566368 \n",
       "L 120.867124 111.783916 \n",
       "L 121.477071 109.184789 \n",
       "L 122.087018 107.429542 \n",
       "L 122.696966 106.491541 \n",
       "L 123.306913 106.345228 \n",
       "L 123.91686 105.437747 \n",
       "L 124.526807 106.817978 \n",
       "L 125.746701 106.530555 \n",
       "L 126.356649 107.125041 \n",
       "L 126.966596 106.981125 \n",
       "L 127.576543 105.400645 \n",
       "L 129.406384 105.034023 \n",
       "L 130.626279 107.546373 \n",
       "L 131.236226 106.727767 \n",
       "L 131.846173 107.271818 \n",
       "L 132.45612 107.138263 \n",
       "L 134.285962 110.653066 \n",
       "L 134.895909 110.494747 \n",
       "L 135.505856 111.617212 \n",
       "L 136.115803 110.819792 \n",
       "L 136.72575 109.407694 \n",
       "L 137.945645 107.889556 \n",
       "L 139.165539 107.636386 \n",
       "L 140.385433 109.782589 \n",
       "L 140.995381 109.050881 \n",
       "L 141.605328 107.74247 \n",
       "L 142.215275 107.622026 \n",
       "L 142.825222 106.345228 \n",
       "L 143.435169 106.237487 \n",
       "L 144.045116 104.42077 \n",
       "L 145.874958 107.494767 \n",
       "L 146.484905 107.382464 \n",
       "L 147.094852 108.370005 \n",
       "L 147.704799 108.252919 \n",
       "L 148.314747 109.219694 \n",
       "L 148.924694 108.02384 \n",
       "L 149.534641 108.978354 \n",
       "L 150.754535 109.795303 \n",
       "L 151.364482 109.15111 \n",
       "L 151.97443 109.03429 \n",
       "L 152.584377 109.433873 \n",
       "L 153.194324 108.294264 \n",
       "L 153.804271 107.677995 \n",
       "L 154.414218 108.078649 \n",
       "L 155.024165 107.973029 \n",
       "L 155.634113 107.371319 \n",
       "L 156.24406 108.260187 \n",
       "L 156.854007 108.155462 \n",
       "L 157.463954 108.53979 \n",
       "L 158.073901 108.434601 \n",
       "L 159.293796 106.315338 \n",
       "L 159.903743 106.226441 \n",
       "L 160.51369 107.082968 \n",
       "L 161.123637 106.521166 \n",
       "L 162.343531 107.271818 \n",
       "L 163.563426 105.258485 \n",
       "L 164.78332 106.006232 \n",
       "L 166.003214 104.949765 \n",
       "L 166.613162 105.318773 \n",
       "L 167.833056 106.920925 \n",
       "L 168.443003 106.835784 \n",
       "L 169.05295 107.18512 \n",
       "L 169.662897 107.961376 \n",
       "L 170.882792 107.783041 \n",
       "L 171.492739 108.118989 \n",
       "L 172.102686 108.029948 \n",
       "L 172.712633 108.360693 \n",
       "L 173.932528 108.182889 \n",
       "L 175.152422 108.828086 \n",
       "L 175.762369 108.738074 \n",
       "L 176.372316 109.054117 \n",
       "L 177.592211 108.874578 \n",
       "L 178.812105 109.491675 \n",
       "L 179.422052 109.006719 \n",
       "L 180.641946 108.832394 \n",
       "L 181.251894 109.522814 \n",
       "L 181.861841 109.433873 \n",
       "L 182.471788 108.961774 \n",
       "L 183.691682 110.312943 \n",
       "L 184.301629 109.843584 \n",
       "L 184.911577 109.755273 \n",
       "L 185.521524 110.042232 \n",
       "L 186.131471 110.698818 \n",
       "L 186.741418 110.978189 \n",
       "L 187.351365 110.148405 \n",
       "L 187.961312 110.427732 \n",
       "L 188.57126 109.974002 \n",
       "L 189.181207 110.614815 \n",
       "L 191.011048 110.351504 \n",
       "L 192.230943 110.889513 \n",
       "L 192.84089 111.507671 \n",
       "L 193.450837 111.768639 \n",
       "L 194.060784 112.376811 \n",
       "L 194.670731 112.631263 \n",
       "L 195.890626 111.753937 \n",
       "L 197.720467 111.488241 \n",
       "L 198.330414 111.062811 \n",
       "L 198.940361 111.652073 \n",
       "L 199.550309 111.900582 \n",
       "L 200.160256 110.811232 \n",
       "L 201.38015 111.309111 \n",
       "L 201.990097 110.566368 \n",
       "L 202.600044 110.158191 \n",
       "L 203.209992 110.73327 \n",
       "L 203.819939 110.327944 \n",
       "L 205.039833 111.461621 \n",
       "L 205.64978 110.737512 \n",
       "L 206.259727 110.978189 \n",
       "L 206.869675 110.580506 \n",
       "L 208.089569 111.057045 \n",
       "L 208.699516 110.66409 \n",
       "L 209.309463 109.648902 \n",
       "L 210.529358 108.88463 \n",
       "L 211.139305 109.125009 \n",
       "L 211.749252 109.67096 \n",
       "L 212.359199 109.29348 \n",
       "L 212.969146 109.224145 \n",
       "L 213.579093 109.45919 \n",
       "L 214.189041 109.389744 \n",
       "L 214.798988 109.923534 \n",
       "L 215.408935 109.552659 \n",
       "L 216.018882 109.483689 \n",
       "L 216.628829 109.712967 \n",
       "L 217.238776 109.050881 \n",
       "L 217.848724 108.984727 \n",
       "L 218.458671 109.507405 \n",
       "L 219.068618 109.146979 \n",
       "L 219.678565 109.081235 \n",
       "L 220.898459 109.530391 \n",
       "L 221.508407 109.463917 \n",
       "L 223.948195 110.339155 \n",
       "L 225.778037 111.820544 \n",
       "L 226.387984 111.747431 \n",
       "L 226.997931 111.953546 \n",
       "L 228.217825 112.914345 \n",
       "L 228.827773 113.113822 \n",
       "L 230.047667 112.414235 \n",
       "L 230.657614 112.613347 \n",
       "L 231.267561 113.082529 \n",
       "L 231.877508 113.007219 \n",
       "L 233.097403 113.39538 \n",
       "L 234.317297 113.244671 \n",
       "L 234.927244 113.701504 \n",
       "L 235.537191 113.360851 \n",
       "L 236.757086 113.212516 \n",
       "L 237.367033 113.40108 \n",
       "L 237.97698 113.327294 \n",
       "L 238.586927 112.993931 \n",
       "L 239.196874 113.181268 \n",
       "L 239.806822 112.850744 \n",
       "L 241.636663 113.406492 \n",
       "L 242.24661 113.843929 \n",
       "L 244.686399 113.553799 \n",
       "L 245.296346 113.732918 \n",
       "L 245.906293 113.661242 \n",
       "L 247.126188 114.015172 \n",
       "L 247.736135 114.437454 \n",
       "L 248.346082 113.871864 \n",
       "L 248.956029 113.800916 \n",
       "L 249.565976 113.48579 \n",
       "L 250.175923 113.904261 \n",
       "L 250.785871 114.076951 \n",
       "L 251.395818 114.006258 \n",
       "L 252.005765 114.418952 \n",
       "L 252.615712 114.347607 \n",
       "L 253.835606 114.684549 \n",
       "L 254.445554 114.374692 \n",
       "L 255.665448 115.181887 \n",
       "L 256.275395 115.109482 \n",
       "L 256.885342 115.272861 \n",
       "L 257.495289 115.200621 \n",
       "L 258.105237 115.362685 \n",
       "L 258.715184 115.756834 \n",
       "L 259.935078 115.611139 \n",
       "L 260.545025 116.000825 \n",
       "L 261.154972 115.927679 \n",
       "L 261.76492 116.084475 \n",
       "L 262.374867 116.011517 \n",
       "L 262.984814 116.395183 \n",
       "L 263.594761 116.321717 \n",
       "L 264.204708 116.70208 \n",
       "L 264.814655 116.854126 \n",
       "L 265.424603 117.230567 \n",
       "L 266.03455 117.155456 \n",
       "L 266.644497 116.856865 \n",
       "L 269.084286 116.565388 \n",
       "L 269.694233 115.831757 \n",
       "L 270.30418 115.542401 \n",
       "L 270.914127 115.474071 \n",
       "L 271.524074 115.624803 \n",
       "L 272.134021 115.992684 \n",
       "L 273.353916 116.288469 \n",
       "L 273.963863 116.218969 \n",
       "L 274.57381 115.71888 \n",
       "L 275.183757 115.651423 \n",
       "L 275.793704 115.370119 \n",
       "L 276.403652 114.876813 \n",
       "L 277.013599 115.025368 \n",
       "L 278.233493 114.896342 \n",
       "L 278.84344 114.410005 \n",
       "L 279.453387 114.347607 \n",
       "L 280.673282 114.642674 \n",
       "L 281.283229 114.371334 \n",
       "L 281.893176 114.517967 \n",
       "L 282.503123 114.871422 \n",
       "L 283.11307 115.015847 \n",
       "L 283.723018 114.746494 \n",
       "L 284.332965 114.890454 \n",
       "L 285.552859 114.766454 \n",
       "L 286.772753 115.051116 \n",
       "L 287.382701 115.395359 \n",
       "L 289.212542 115.812571 \n",
       "L 292.262278 115.499355 \n",
       "L 293.482172 115.771745 \n",
       "L 295.312014 115.586628 \n",
       "L 298.36175 116.25225 \n",
       "L 299.581644 116.89874 \n",
       "L 300.801538 116.772376 \n",
       "L 301.411485 116.900728 \n",
       "L 302.021433 117.21898 \n",
       "L 303.241327 117.092263 \n",
       "L 303.851274 117.218494 \n",
       "L 305.681116 117.030351 \n",
       "L 306.291063 116.78108 \n",
       "L 306.90101 116.906505 \n",
       "L 307.510957 116.845046 \n",
       "L 308.120904 116.598117 \n",
       "L 308.730851 116.723045 \n",
       "L 309.950746 116.60227 \n",
       "L 311.17064 117.216617 \n",
       "L 312.390534 117.094604 \n",
       "L 313.000482 117.216175 \n",
       "L 314.220376 117.095046 \n",
       "L 314.830323 116.673328 \n",
       "L 316.660165 117.035807 \n",
       "L 317.270112 116.976403 \n",
       "L 320.319848 117.56826 \n",
       "L 320.929795 117.331957 \n",
       "L 321.539742 117.27284 \n",
       "L 322.149689 117.038359 \n",
       "L 322.759636 116.62973 \n",
       "L 324.589478 116.981451 \n",
       "L 325.199425 117.271194 \n",
       "L 325.809372 116.866806 \n",
       "L 326.419319 116.637086 \n",
       "L 327.029266 116.58083 \n",
       "L 327.639214 116.18085 \n",
       "L 328.249161 116.125919 \n",
       "L 328.859108 116.242419 \n",
       "L 330.079002 115.792202 \n",
       "L 330.688949 115.908669 \n",
       "L 331.908844 115.801536 \n",
       "L 332.518791 116.086043 \n",
       "L 333.128738 116.032316 \n",
       "L 333.738685 116.315012 \n",
       "L 334.95858 116.20726 \n",
       "L 335.568527 116.487647 \n",
       "L 336.178474 116.433622 \n",
       "L 336.788421 116.712242 \n",
       "L 337.398368 116.32629 \n",
       "L 338.008315 116.603916 \n",
       "L 339.22821 116.826003 \n",
       "L 339.838157 116.607583 \n",
       "L 340.448104 116.71813 \n",
       "L 341.667998 116.284658 \n",
       "L 342.277946 116.232268 \n",
       "L 342.887893 116.505221 \n",
       "L 343.49784 116.452577 \n",
       "L 344.107787 116.723862 \n",
       "L 345.937629 117.048267 \n",
       "L 346.547576 116.995015 \n",
       "L 347.157523 116.781886 \n",
       "L 347.76747 117.048952 \n",
       "L 348.377417 116.996042 \n",
       "L 348.987365 117.261507 \n",
       "L 349.597312 117.049637 \n",
       "L 350.207259 116.99707 \n",
       "L 351.427153 117.208034 \n",
       "L 352.0371 116.998075 \n",
       "L 352.647048 116.94606 \n",
       "L 353.256995 117.050984 \n",
       "L 353.866942 116.999069 \n",
       "L 354.476889 117.103441 \n",
       "L 355.086836 116.895912 \n",
       "L 355.696783 117.155456 \n",
       "L 356.306731 117.258845 \n",
       "L 356.916678 117.20704 \n",
       "L 357.526625 117.001024 \n",
       "L 358.136572 116.949981 \n",
       "L 359.356466 117.155456 \n",
       "L 360.576361 117.053569 \n",
       "L 361.796255 117.561357 \n",
       "L 362.406202 117.357992 \n",
       "L 363.016149 116.852281 \n",
       "L 363.626097 116.802475 \n",
       "L 364.236044 116.601894 \n",
       "L 364.845991 116.552796 \n",
       "L 365.455938 116.654263 \n",
       "L 366.065885 116.455206 \n",
       "L 367.28578 116.657289 \n",
       "L 367.895727 116.608577 \n",
       "L 369.725568 116.908372 \n",
       "L 369.725568 116.908372 \n",
       "\" clip-path=\"url(#pc9e0f17c9a)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_15\">\n",
       "    <path d=\"M 65.361932 92.446367 \n",
       "L 65.971879 166.573638 \n",
       "L 66.581826 191.282727 \n",
       "L 67.191773 185.105455 \n",
       "L 67.80172 181.399095 \n",
       "L 68.411668 129.51 \n",
       "L 69.021615 145.394414 \n",
       "L 69.631562 148.041822 \n",
       "L 70.241509 141.864544 \n",
       "L 70.851456 151.748187 \n",
       "L 71.461403 139.618265 \n",
       "L 72.681298 132.361049 \n",
       "L 73.291245 134.804805 \n",
       "L 73.901192 122.09728 \n",
       "L 74.511139 120.2441 \n",
       "L 75.121086 109.888077 \n",
       "L 75.731034 104.800912 \n",
       "L 76.950928 110.978189 \n",
       "L 77.560875 113.625586 \n",
       "L 78.780769 111.783916 \n",
       "L 79.390717 114.066822 \n",
       "L 80.000664 110.236915 \n",
       "L 80.610611 109.552659 \n",
       "L 81.830505 113.625586 \n",
       "L 82.440452 110.339155 \n",
       "L 83.0504 109.742736 \n",
       "L 84.270294 113.294664 \n",
       "L 85.490188 107.707863 \n",
       "L 86.100135 111.507671 \n",
       "L 87.929977 110.002832 \n",
       "L 88.539924 113.354058 \n",
       "L 89.759819 115.950135 \n",
       "L 90.369766 115.390521 \n",
       "L 90.979713 116.58083 \n",
       "L 91.58966 114.347607 \n",
       "L 93.419502 112.949659 \n",
       "L 94.029449 114.066822 \n",
       "L 95.249343 113.202001 \n",
       "L 95.85929 111.341553 \n",
       "L 97.079185 113.425789 \n",
       "L 97.689132 113.037274 \n",
       "L 98.299079 115.358433 \n",
       "L 98.909026 116.272994 \n",
       "L 99.518973 114.554507 \n",
       "L 100.12892 115.451383 \n",
       "L 101.348815 112.213643 \n",
       "L 102.568709 116.358389 \n",
       "L 103.178656 115.978833 \n",
       "L 103.788603 116.769382 \n",
       "L 104.398551 118.676024 \n",
       "L 105.008498 119.401746 \n",
       "L 105.618445 121.212178 \n",
       "L 106.228392 120.789145 \n",
       "L 107.448286 117.861439 \n",
       "L 108.058234 118.547517 \n",
       "L 108.668181 120.2441 \n",
       "L 109.278128 116.816979 \n",
       "L 109.888075 117.489371 \n",
       "L 110.498022 115.178728 \n",
       "L 111.107969 113.904261 \n",
       "L 111.717917 113.625586 \n",
       "L 112.327864 115.254757 \n",
       "L 113.547758 116.537729 \n",
       "L 114.157705 116.240309 \n",
       "L 114.767652 115.046145 \n",
       "L 115.3776 112.094557 \n",
       "L 115.987547 111.860651 \n",
       "L 116.597494 112.504335 \n",
       "L 118.427335 111.820544 \n",
       "L 119.037283 110.769964 \n",
       "L 119.64723 111.390011 \n",
       "L 120.257177 112.811001 \n",
       "L 122.087018 114.526837 \n",
       "L 122.696966 113.514123 \n",
       "L 124.526807 115.138389 \n",
       "L 125.136754 114.160414 \n",
       "L 126.356649 113.730433 \n",
       "L 127.576543 116.195883 \n",
       "L 128.18649 116.680287 \n",
       "L 128.796437 114.331569 \n",
       "L 129.406384 114.824411 \n",
       "L 130.016332 113.922498 \n",
       "L 130.626279 113.72364 \n",
       "L 131.236226 114.888566 \n",
       "L 131.846173 115.358433 \n",
       "L 132.45612 113.816392 \n",
       "L 133.066067 114.287441 \n",
       "L 134.285962 112.603781 \n",
       "L 134.895909 112.428506 \n",
       "L 136.115803 110.819792 \n",
       "L 139.165539 113.104786 \n",
       "L 139.775486 112.334175 \n",
       "L 140.385433 112.771589 \n",
       "L 140.995381 112.608984 \n",
       "L 141.605328 113.037274 \n",
       "L 142.215275 112.875144 \n",
       "L 142.825222 112.136421 \n",
       "L 144.045116 114.114342 \n",
       "L 144.655064 113.948941 \n",
       "L 145.265011 114.347607 \n",
       "L 146.484905 114.020728 \n",
       "L 147.094852 113.311818 \n",
       "L 147.704799 113.703459 \n",
       "L 148.314747 112.466139 \n",
       "L 148.924694 112.321074 \n",
       "L 150.754535 110.321029 \n",
       "L 151.364482 110.195151 \n",
       "L 151.97443 109.552659 \n",
       "L 152.584377 110.46341 \n",
       "L 153.194324 110.850378 \n",
       "L 153.804271 110.724323 \n",
       "L 154.414218 110.095716 \n",
       "L 155.024165 110.978189 \n",
       "L 155.634113 110.356309 \n",
       "L 156.24406 110.236915 \n",
       "L 156.854007 111.100919 \n",
       "L 157.463954 111.465862 \n",
       "L 158.073901 112.310536 \n",
       "L 158.683848 112.662898 \n",
       "L 159.293796 113.488949 \n",
       "L 159.903743 113.829238 \n",
       "L 162.343531 113.294664 \n",
       "L 162.953479 112.704751 \n",
       "L 163.563426 113.037274 \n",
       "L 164.173373 112.910954 \n",
       "L 164.78332 111.882179 \n",
       "L 165.393267 112.213643 \n",
       "L 166.003214 112.987657 \n",
       "L 167.223109 112.743124 \n",
       "L 167.833056 113.061641 \n",
       "L 168.443003 113.81247 \n",
       "L 169.662897 113.564017 \n",
       "L 170.272845 113.013471 \n",
       "L 170.882792 112.895269 \n",
       "L 171.492739 113.202001 \n",
       "L 172.712633 112.967476 \n",
       "L 173.932528 113.566425 \n",
       "L 174.542475 114.272728 \n",
       "L 175.152422 113.742605 \n",
       "L 176.372316 113.509859 \n",
       "L 176.982263 112.992517 \n",
       "L 178.202158 112.771589 \n",
       "L 178.812105 111.077292 \n",
       "L 179.422052 110.978189 \n",
       "L 180.641946 111.563397 \n",
       "L 181.861841 110.592104 \n",
       "L 182.471788 111.266242 \n",
       "L 183.081735 111.169238 \n",
       "L 183.691682 110.693085 \n",
       "L 184.301629 110.978189 \n",
       "L 184.911577 111.636675 \n",
       "L 186.131471 112.188811 \n",
       "L 187.961312 111.8956 \n",
       "L 188.57126 112.164953 \n",
       "L 189.181207 112.068291 \n",
       "L 190.401101 110.438424 \n",
       "L 192.230943 111.244195 \n",
       "L 192.84089 109.742736 \n",
       "L 193.450837 108.606816 \n",
       "L 194.670731 109.15111 \n",
       "L 195.280678 109.07305 \n",
       "L 195.890626 109.340491 \n",
       "L 196.500573 109.948641 \n",
       "L 197.720467 110.468137 \n",
       "L 198.330414 111.062811 \n",
       "L 198.940361 110.641247 \n",
       "L 199.550309 110.558912 \n",
       "L 200.160256 111.145136 \n",
       "L 200.770203 110.728885 \n",
       "L 201.990097 111.88419 \n",
       "L 202.600044 111.470181 \n",
       "L 203.209992 111.386377 \n",
       "L 204.429886 109.926163 \n",
       "L 205.039833 110.494747 \n",
       "L 206.869675 111.21679 \n",
       "L 207.479622 111.770142 \n",
       "L 208.089569 111.687917 \n",
       "L 208.699516 111.292288 \n",
       "L 209.91941 111.133913 \n",
       "L 210.529358 111.676042 \n",
       "L 212.359199 112.356587 \n",
       "L 212.969146 111.969596 \n",
       "L 213.579093 112.497189 \n",
       "L 214.798988 111.731514 \n",
       "L 215.408935 111.953546 \n",
       "L 216.018882 111.874889 \n",
       "L 216.628829 112.392265 \n",
       "L 217.848724 112.233326 \n",
       "L 218.458671 111.860651 \n",
       "L 219.068618 112.076906 \n",
       "L 219.678565 111.707788 \n",
       "L 220.898459 111.557311 \n",
       "L 221.508407 111.194511 \n",
       "L 222.118354 111.409164 \n",
       "L 222.728301 110.763536 \n",
       "L 223.338248 110.978189 \n",
       "L 223.948195 110.623176 \n",
       "L 224.558142 109.987942 \n",
       "L 225.778037 110.978189 \n",
       "L 226.387984 110.908258 \n",
       "L 226.997931 111.117521 \n",
       "L 227.607878 110.492339 \n",
       "L 228.217825 110.978189 \n",
       "L 228.827773 109.807034 \n",
       "L 229.43772 110.01728 \n",
       "L 230.047667 109.678913 \n",
       "L 230.657614 109.888077 \n",
       "L 231.267561 110.367245 \n",
       "L 233.70735 110.108463 \n",
       "L 234.927244 110.513226 \n",
       "L 236.147139 110.384642 \n",
       "L 236.757086 110.058171 \n",
       "L 237.367033 109.995939 \n",
       "L 237.97698 109.412123 \n",
       "L 238.586927 109.09249 \n",
       "L 239.196874 109.29348 \n",
       "L 239.806822 108.976487 \n",
       "L 240.416769 108.919093 \n",
       "L 241.026716 109.118592 \n",
       "L 241.636663 109.061098 \n",
       "L 242.24661 108.749274 \n",
       "L 242.856557 108.693438 \n",
       "L 244.076452 109.591452 \n",
       "L 244.686399 109.533329 \n",
       "L 245.906293 109.917448 \n",
       "L 246.51624 109.361313 \n",
       "L 247.126188 109.304747 \n",
       "L 247.736135 109.495641 \n",
       "L 248.346082 109.438998 \n",
       "L 248.956029 109.137281 \n",
       "L 251.395818 108.919093 \n",
       "L 252.005765 108.623982 \n",
       "L 252.615712 108.812125 \n",
       "L 253.225659 109.238958 \n",
       "L 253.835606 109.423909 \n",
       "L 254.445554 109.369321 \n",
       "L 255.055501 108.839905 \n",
       "L 256.275395 109.207632 \n",
       "L 256.885342 109.625065 \n",
       "L 257.495289 109.336128 \n",
       "L 258.715184 109.696111 \n",
       "L 259.325131 109.40966 \n",
       "L 259.935078 109.588304 \n",
       "L 260.545025 109.534898 \n",
       "L 261.154972 109.71204 \n",
       "L 261.76492 109.658589 \n",
       "L 262.374867 109.376677 \n",
       "L 262.984814 109.324574 \n",
       "L 263.594761 109.045424 \n",
       "L 264.204708 109.448033 \n",
       "L 266.03455 109.29348 \n",
       "L 266.644497 109.690478 \n",
       "L 267.254444 109.638541 \n",
       "L 267.864391 110.032114 \n",
       "L 268.474338 109.757526 \n",
       "L 269.084286 109.705854 \n",
       "L 270.30418 110.043348 \n",
       "L 271.524074 109.939528 \n",
       "L 272.134021 109.670054 \n",
       "L 272.743969 109.619553 \n",
       "L 273.353916 109.352586 \n",
       "L 273.963863 109.735534 \n",
       "L 274.57381 109.900757 \n",
       "L 275.183757 110.279883 \n",
       "L 277.623546 110.925092 \n",
       "L 278.233493 111.295878 \n",
       "L 278.84344 111.030988 \n",
       "L 279.453387 111.399366 \n",
       "L 280.673282 111.71108 \n",
       "L 281.283229 112.074432 \n",
       "L 281.893176 112.227527 \n",
       "L 283.11307 112.117014 \n",
       "L 283.723018 112.268706 \n",
       "L 284.332965 112.213643 \n",
       "L 284.942912 111.953546 \n",
       "L 285.552859 111.899654 \n",
       "L 286.162806 111.437651 \n",
       "L 286.772753 111.589123 \n",
       "L 287.382701 111.333589 \n",
       "L 287.992648 110.876921 \n",
       "L 288.602595 111.02868 \n",
       "L 289.212542 110.776758 \n",
       "L 289.822489 110.927964 \n",
       "L 290.432436 110.677676 \n",
       "L 291.042384 110.628534 \n",
       "L 291.652331 110.380389 \n",
       "L 292.262278 110.531043 \n",
       "L 292.872225 110.482685 \n",
       "L 294.092119 111.175335 \n",
       "L 295.312014 111.468447 \n",
       "L 295.921961 111.809432 \n",
       "L 296.531908 111.953546 \n",
       "L 297.141855 111.902349 \n",
       "L 297.751802 111.657364 \n",
       "L 298.36175 111.607205 \n",
       "L 298.971697 111.750348 \n",
       "L 299.581644 111.700211 \n",
       "L 300.191591 111.458285 \n",
       "L 301.411485 111.742383 \n",
       "L 302.021433 111.692777 \n",
       "L 303.241327 112.352665 \n",
       "L 303.851274 112.301888 \n",
       "L 304.461221 112.439982 \n",
       "L 305.071168 111.636675 \n",
       "L 305.681116 111.775764 \n",
       "L 306.291063 111.726952 \n",
       "L 306.90101 111.865103 \n",
       "L 307.510957 111.630058 \n",
       "L 308.120904 111.953546 \n",
       "L 308.730851 112.090095 \n",
       "L 311.17064 111.8956 \n",
       "L 311.780587 111.481525 \n",
       "L 312.390534 111.434636 \n",
       "L 313.000482 111.205855 \n",
       "L 313.610429 111.159871 \n",
       "L 314.830323 111.430184 \n",
       "L 316.050217 111.338029 \n",
       "L 317.270112 111.604863 \n",
       "L 317.880059 111.915946 \n",
       "L 318.490006 112.047326 \n",
       "L 319.099953 111.644794 \n",
       "L 320.319848 111.553157 \n",
       "L 321.539742 111.814535 \n",
       "L 322.149689 111.768639 \n",
       "L 322.759636 111.898207 \n",
       "L 323.369583 111.502667 \n",
       "L 323.979531 111.283418 \n",
       "L 324.589478 110.717176 \n",
       "L 325.199425 110.674385 \n",
       "L 326.419319 110.934989 \n",
       "L 327.639214 110.849196 \n",
       "L 328.249161 110.978189 \n",
       "L 328.859108 110.764198 \n",
       "L 330.079002 110.679974 \n",
       "L 331.298897 110.257272 \n",
       "L 332.518791 110.17613 \n",
       "L 333.128738 110.304306 \n",
       "L 333.738685 110.095716 \n",
       "L 334.348632 110.223494 \n",
       "L 334.95858 110.016043 \n",
       "L 336.178474 109.937076 \n",
       "L 337.398368 110.190478 \n",
       "L 338.008315 110.150879 \n",
       "L 338.618263 109.946344 \n",
       "L 339.838157 110.526194 \n",
       "L 340.448104 110.486197 \n",
       "L 342.277946 110.856 \n",
       "L 343.49784 110.775432 \n",
       "L 344.107787 110.897267 \n",
       "L 344.717734 110.695571 \n",
       "L 345.327681 110.655894 \n",
       "L 346.547576 110.897963 \n",
       "L 347.76747 110.498911 \n",
       "L 348.377417 110.460096 \n",
       "L 348.987365 110.262365 \n",
       "L 350.817206 110.622569 \n",
       "L 352.0371 110.545381 \n",
       "L 352.647048 110.66409 \n",
       "L 353.256995 110.625573 \n",
       "L 353.866942 110.899996 \n",
       "L 354.476889 110.705081 \n",
       "L 355.086836 110.66673 \n",
       "L 355.696783 110.317726 \n",
       "L 356.306731 110.280336 \n",
       "L 356.916678 110.397864 \n",
       "L 357.526625 110.669326 \n",
       "L 358.136572 110.631439 \n",
       "L 358.746519 110.439915 \n",
       "L 359.356466 110.70961 \n",
       "L 359.966414 110.671877 \n",
       "L 360.576361 110.939982 \n",
       "L 361.186308 110.596876 \n",
       "L 361.796255 110.711819 \n",
       "L 363.016149 111.243466 \n",
       "L 363.626097 110.902547 \n",
       "L 364.236044 111.166907 \n",
       "L 364.845991 111.128854 \n",
       "L 365.455938 110.9406 \n",
       "L 367.28578 110.828739 \n",
       "L 367.895727 110.493454 \n",
       "L 368.505674 110.308359 \n",
       "L 369.115621 110.421115 \n",
       "L 369.725568 110.385172 \n",
       "L 369.725568 110.385172 \n",
       "\" clip-path=\"url(#pc9e0f17c9a)\" style=\"fill: none; stroke: #ff7f0e; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_16\">\n",
       "    <path d=\"M 65.361932 240.700909 \n",
       "L 65.971879 129.51 \n",
       "L 66.581826 117.155456 \n",
       "L 67.191773 92.446367 \n",
       "L 67.80172 77.620916 \n",
       "L 68.411668 67.737279 \n",
       "L 69.021615 81.856758 \n",
       "L 69.631562 92.446367 \n",
       "L 70.241509 84.210005 \n",
       "L 70.851456 99.859098 \n",
       "L 71.461403 92.446367 \n",
       "L 72.681298 103.850562 \n",
       "L 73.291245 97.741172 \n",
       "L 74.511139 115.611139 \n",
       "L 75.121086 109.888077 \n",
       "L 75.731034 100.68273 \n",
       "L 76.340981 104.150677 \n",
       "L 77.560875 103.035977 \n",
       "L 78.780769 108.560998 \n",
       "L 79.390717 104.800912 \n",
       "L 80.610611 109.552659 \n",
       "L 81.830505 108.330781 \n",
       "L 83.0504 112.213643 \n",
       "L 83.660347 106.793578 \n",
       "L 84.270294 108.661714 \n",
       "L 84.880241 105.924051 \n",
       "L 85.490188 109.888077 \n",
       "L 86.100135 109.389744 \n",
       "L 86.710083 106.860008 \n",
       "L 87.929977 110.002832 \n",
       "L 88.539924 109.552659 \n",
       "L 89.149871 110.978189 \n",
       "L 89.759819 106.910222 \n",
       "L 90.369766 108.330781 \n",
       "L 90.979713 107.961376 \n",
       "L 91.58966 110.978189 \n",
       "L 93.419502 114.526837 \n",
       "L 94.639396 116.651192 \n",
       "L 95.249343 116.167098 \n",
       "L 95.85929 117.155456 \n",
       "L 97.079185 116.223045 \n",
       "L 97.689132 117.155456 \n",
       "L 98.299079 116.7062 \n",
       "L 100.12892 123.119726 \n",
       "L 101.348815 124.568187 \n",
       "L 101.958762 126.472001 \n",
       "L 102.568709 123.532 \n",
       "L 103.788603 124.87705 \n",
       "L 104.398551 124.378121 \n",
       "L 105.008498 121.648024 \n",
       "L 105.618445 121.212178 \n",
       "L 106.228392 121.879258 \n",
       "L 106.838339 120.378384 \n",
       "L 108.058234 121.67966 \n",
       "L 108.668181 120.2441 \n",
       "L 109.278128 120.878749 \n",
       "L 109.888075 122.497967 \n",
       "L 110.498022 123.085638 \n",
       "L 111.107969 122.682488 \n",
       "L 111.717917 124.215195 \n",
       "L 112.327864 123.807903 \n",
       "L 112.937811 124.349247 \n",
       "L 114.157705 123.561515 \n",
       "L 114.767652 124.990049 \n",
       "L 115.3776 123.704856 \n",
       "L 115.987547 123.332733 \n",
       "L 116.597494 124.713539 \n",
       "L 117.207441 123.476384 \n",
       "L 117.817388 124.823798 \n",
       "L 118.427335 125.298227 \n",
       "L 119.037283 124.09621 \n",
       "L 119.64723 125.391819 \n",
       "L 120.257177 124.215195 \n",
       "L 120.867124 124.675618 \n",
       "L 121.477071 125.9232 \n",
       "L 122.696966 126.778997 \n",
       "L 123.306913 126.421367 \n",
       "L 123.91686 126.835309 \n",
       "L 124.526807 125.727998 \n",
       "L 125.136754 125.391819 \n",
       "L 125.746701 126.544914 \n",
       "L 126.356649 126.20731 \n",
       "L 126.966596 127.329786 \n",
       "L 127.576543 127.710801 \n",
       "L 128.18649 128.797246 \n",
       "L 128.796437 129.15702 \n",
       "L 129.406384 128.810689 \n",
       "L 130.016332 129.856397 \n",
       "L 130.626279 129.51 \n",
       "L 131.236226 128.489907 \n",
       "L 131.846173 128.836116 \n",
       "L 133.676015 131.805985 \n",
       "L 134.285962 131.460726 \n",
       "L 134.895909 131.766054 \n",
       "L 135.505856 131.427091 \n",
       "L 136.115803 132.361049 \n",
       "L 136.72575 132.650991 \n",
       "L 137.335698 133.558968 \n",
       "L 137.945645 133.834098 \n",
       "L 138.555592 133.492053 \n",
       "L 139.165539 132.54801 \n",
       "L 139.775486 132.824642 \n",
       "L 140.385433 131.901211 \n",
       "L 140.995381 130.399531 \n",
       "L 142.215275 129.801842 \n",
       "L 142.825222 130.089122 \n",
       "L 143.435169 130.946576 \n",
       "L 144.045116 131.220634 \n",
       "L 144.655064 130.92465 \n",
       "L 145.874958 128.116636 \n",
       "L 146.484905 128.956814 \n",
       "L 147.094852 128.686368 \n",
       "L 147.704799 127.874842 \n",
       "L 148.314747 127.616238 \n",
       "L 149.534641 129.243365 \n",
       "L 150.754535 127.669965 \n",
       "L 152.584377 128.480463 \n",
       "L 153.804271 130.017721 \n",
       "L 154.414218 129.762143 \n",
       "L 155.024165 128.508287 \n",
       "L 155.634113 128.763755 \n",
       "L 156.24406 128.521642 \n",
       "L 157.463954 129.022327 \n",
       "L 158.073901 127.814278 \n",
       "L 158.683848 128.065968 \n",
       "L 159.293796 128.79264 \n",
       "L 160.51369 127.385336 \n",
       "L 161.123637 128.10253 \n",
       "L 161.733584 128.344478 \n",
       "L 162.343531 128.120115 \n",
       "L 162.953479 128.819382 \n",
       "L 163.563426 128.594853 \n",
       "L 165.393267 129.285372 \n",
       "L 166.003214 129.95655 \n",
       "L 167.833056 127.974829 \n",
       "L 168.443003 128.201876 \n",
       "L 169.05295 126.692299 \n",
       "L 169.662897 126.493198 \n",
       "L 170.882792 127.805928 \n",
       "L 171.492739 127.603877 \n",
       "L 172.102686 127.825291 \n",
       "L 172.712633 127.206614 \n",
       "L 173.32258 127.844223 \n",
       "L 173.932528 127.232351 \n",
       "L 174.542475 126.215462 \n",
       "L 175.152422 126.028886 \n",
       "L 175.762369 126.251659 \n",
       "L 176.372316 126.066939 \n",
       "L 176.982263 126.287083 \n",
       "L 177.592211 126.104153 \n",
       "L 178.202158 125.524667 \n",
       "L 178.812105 126.140582 \n",
       "L 180.641946 126.778997 \n",
       "L 181.861841 127.965683 \n",
       "L 182.471788 127.397575 \n",
       "L 183.081735 127.217406 \n",
       "L 183.691682 126.658951 \n",
       "L 184.301629 126.484405 \n",
       "L 184.911577 125.559063 \n",
       "L 185.521524 125.017442 \n",
       "L 186.131471 124.853765 \n",
       "L 186.741418 125.062366 \n",
       "L 187.961312 124.739441 \n",
       "L 188.57126 125.310676 \n",
       "L 189.181207 125.149573 \n",
       "L 189.791154 124.628453 \n",
       "L 190.401101 124.832071 \n",
       "L 191.011048 124.317513 \n",
       "L 192.230943 124.012527 \n",
       "L 193.450837 125.118578 \n",
       "L 194.060784 124.964467 \n",
       "L 194.670731 125.159812 \n",
       "L 195.280678 125.699721 \n",
       "L 195.890626 125.889831 \n",
       "L 196.500573 126.421367 \n",
       "L 197.11052 126.264803 \n",
       "L 197.720467 126.449699 \n",
       "L 198.330414 126.971405 \n",
       "L 198.940361 127.151407 \n",
       "L 199.550309 126.658951 \n",
       "L 200.160256 127.172659 \n",
       "L 200.770203 127.016935 \n",
       "L 201.38015 126.531681 \n",
       "L 202.600044 127.542021 \n",
       "L 203.209992 127.060865 \n",
       "L 204.429886 128.053354 \n",
       "L 205.64978 126.461485 \n",
       "L 207.479622 126.025385 \n",
       "L 208.699516 126.369021 \n",
       "L 209.309463 126.851436 \n",
       "L 209.91941 126.395409 \n",
       "L 210.529358 126.253371 \n",
       "L 211.139305 126.421367 \n",
       "L 211.749252 125.972807 \n",
       "L 212.969146 126.306976 \n",
       "L 214.189041 126.030565 \n",
       "L 214.798988 126.195369 \n",
       "L 216.018882 127.1188 \n",
       "L 217.238776 126.841417 \n",
       "L 217.848724 126.999715 \n",
       "L 219.678565 126.591605 \n",
       "L 220.288512 126.167015 \n",
       "L 222.118354 125.77491 \n",
       "L 222.728301 125.932434 \n",
       "L 223.338248 125.80364 \n",
       "L 223.948195 125.391819 \n",
       "L 225.16809 125.141288 \n",
       "L 225.778037 124.455873 \n",
       "L 226.387984 124.614811 \n",
       "L 226.997931 124.49387 \n",
       "L 227.607878 124.651472 \n",
       "L 228.217825 124.254717 \n",
       "L 228.827773 124.687603 \n",
       "L 229.43772 124.842731 \n",
       "L 230.047667 124.723193 \n",
       "L 230.657614 124.331994 \n",
       "L 231.267561 124.215195 \n",
       "L 233.097403 124.675618 \n",
       "L 233.70735 125.094476 \n",
       "L 234.317297 124.977037 \n",
       "L 235.537191 125.80364 \n",
       "L 236.147139 125.684931 \n",
       "L 236.757086 125.829929 \n",
       "L 237.367033 126.23583 \n",
       "L 237.97698 126.377868 \n",
       "L 238.586927 126.778997 \n",
       "L 239.196874 126.399772 \n",
       "L 239.806822 126.539745 \n",
       "L 241.026716 125.277826 \n",
       "L 242.24661 125.052182 \n",
       "L 242.856557 125.448241 \n",
       "L 243.466505 125.082613 \n",
       "L 244.686399 125.363906 \n",
       "L 245.906293 124.643066 \n",
       "L 246.51624 124.783768 \n",
       "L 247.126188 124.675618 \n",
       "L 247.736135 124.815282 \n",
       "L 248.956029 125.582735 \n",
       "L 250.785871 125.985918 \n",
       "L 252.615712 125.659238 \n",
       "L 253.835606 125.9232 \n",
       "L 254.445554 125.815558 \n",
       "L 255.055501 125.946197 \n",
       "L 255.665448 125.365507 \n",
       "L 256.275395 125.496743 \n",
       "L 256.885342 125.391819 \n",
       "L 257.495289 125.522148 \n",
       "L 258.105237 125.183969 \n",
       "L 258.715184 125.081011 \n",
       "L 260.545025 125.468797 \n",
       "L 261.76492 124.80533 \n",
       "L 263.594761 125.189702 \n",
       "L 264.204708 124.862878 \n",
       "L 264.814655 124.990049 \n",
       "L 266.03455 124.792815 \n",
       "L 266.644497 124.919035 \n",
       "L 267.864391 124.278797 \n",
       "L 268.474338 124.62737 \n",
       "L 269.084286 124.752586 \n",
       "L 270.30418 124.12093 \n",
       "L 270.914127 124.465836 \n",
       "L 272.134021 124.713539 \n",
       "L 273.353916 124.524832 \n",
       "L 274.57381 123.907359 \n",
       "L 275.183757 123.816176 \n",
       "L 275.793704 123.939746 \n",
       "L 277.013599 123.332733 \n",
       "L 277.623546 123.244234 \n",
       "L 278.84344 123.913501 \n",
       "L 279.453387 123.824107 \n",
       "L 280.063335 123.525229 \n",
       "L 280.673282 123.646832 \n",
       "L 281.893176 123.055097 \n",
       "L 282.503123 122.969359 \n",
       "L 283.11307 122.677042 \n",
       "L 283.723018 122.79932 \n",
       "L 284.332965 122.303185 \n",
       "L 285.552859 122.547773 \n",
       "L 287.382701 122.300369 \n",
       "L 287.992648 122.421331 \n",
       "L 288.602595 122.137675 \n",
       "L 289.212542 122.056996 \n",
       "L 289.822489 121.775858 \n",
       "L 290.432436 122.09728 \n",
       "L 291.042384 122.21716 \n",
       "L 291.652331 122.137133 \n",
       "L 292.262278 122.256263 \n",
       "L 292.872225 122.176556 \n",
       "L 293.482172 122.492621 \n",
       "L 294.702067 122.33323 \n",
       "L 295.921961 121.393164 \n",
       "L 296.531908 121.512061 \n",
       "L 297.751802 121.359883 \n",
       "L 298.971697 121.595369 \n",
       "L 299.581644 121.327121 \n",
       "L 300.191591 121.444339 \n",
       "L 300.801538 121.369416 \n",
       "L 302.021433 121.601831 \n",
       "L 302.63138 121.527073 \n",
       "L 304.461221 121.87094 \n",
       "L 305.071168 122.172535 \n",
       "L 306.291063 122.0224 \n",
       "L 306.90101 121.761189 \n",
       "L 308.120904 122.357376 \n",
       "L 308.730851 122.467912 \n",
       "L 309.340799 122.393043 \n",
       "L 309.950746 122.502949 \n",
       "L 310.560693 122.244433 \n",
       "L 311.17064 122.170669 \n",
       "L 311.780587 122.280309 \n",
       "L 312.390534 122.024245 \n",
       "L 314.220376 122.351014 \n",
       "L 314.830323 122.278078 \n",
       "L 315.44027 121.844773 \n",
       "L 316.050217 121.773417 \n",
       "L 316.660165 121.881898 \n",
       "L 317.270112 121.810796 \n",
       "L 317.880059 121.561414 \n",
       "L 318.490006 121.491428 \n",
       "L 319.099953 121.777305 \n",
       "L 319.7099 121.529801 \n",
       "L 320.319848 121.637299 \n",
       "L 320.929795 121.567799 \n",
       "L 321.539742 121.6747 \n",
       "L 322.149689 121.429781 \n",
       "L 322.759636 121.711748 \n",
       "L 323.369583 121.642722 \n",
       "L 323.979531 121.748442 \n",
       "L 325.809372 121.543056 \n",
       "L 326.419319 121.820814 \n",
       "L 327.029266 121.580115 \n",
       "L 328.249161 121.788417 \n",
       "L 328.859108 121.720651 \n",
       "L 330.079002 122.267684 \n",
       "L 331.298897 122.470463 \n",
       "L 333.128738 122.265751 \n",
       "L 334.348632 121.795398 \n",
       "L 334.95858 121.896478 \n",
       "L 335.568527 121.830148 \n",
       "L 336.178474 122.09728 \n",
       "L 336.788421 122.197002 \n",
       "L 337.398368 122.13044 \n",
       "L 338.008315 121.89872 \n",
       "L 339.22821 122.09728 \n",
       "L 339.838157 122.031535 \n",
       "L 340.448104 122.294072 \n",
       "L 341.667998 122.162583 \n",
       "L 342.277946 122.260195 \n",
       "L 342.887893 122.519937 \n",
       "L 345.327681 121.613838 \n",
       "L 345.937629 121.872166 \n",
       "L 346.547576 121.648024 \n",
       "L 347.157523 121.90516 \n",
       "L 347.76747 121.841669 \n",
       "L 349.597312 122.129026 \n",
       "L 350.207259 122.065601 \n",
       "L 350.817206 121.686342 \n",
       "L 352.0371 121.876938 \n",
       "L 352.647048 121.657535 \n",
       "L 353.256995 121.752496 \n",
       "L 353.866942 121.690672 \n",
       "L 354.476889 121.941225 \n",
       "L 355.696783 122.128363 \n",
       "L 356.306731 122.066263 \n",
       "L 356.916678 121.849666 \n",
       "L 357.526625 122.09728 \n",
       "L 358.746519 122.281823 \n",
       "L 359.356466 122.220054 \n",
       "L 359.966414 122.311691 \n",
       "L 360.576361 122.09728 \n",
       "L 361.186308 122.036263 \n",
       "L 361.796255 121.671088 \n",
       "L 362.406202 121.611198 \n",
       "L 366.065885 122.157303 \n",
       "L 367.28578 121.7386 \n",
       "L 367.895727 121.977963 \n",
       "L 368.505674 122.067512 \n",
       "L 369.115621 121.859596 \n",
       "L 369.725568 122.09728 \n",
       "L 369.725568 122.09728 \n",
       "\" clip-path=\"url(#pc9e0f17c9a)\" style=\"fill: none; stroke: #2ca02c; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_17\">\n",
       "    <path d=\"M 65.361932 18.319091 \n",
       "L 65.971879 55.382735 \n",
       "L 66.581826 43.028179 \n",
       "L 67.191773 92.446367 \n",
       "L 67.80172 92.446367 \n",
       "L 68.411668 104.800912 \n",
       "L 69.021615 92.446367 \n",
       "L 69.631562 73.914557 \n",
       "L 70.241509 84.210005 \n",
       "L 70.851456 85.033647 \n",
       "L 71.461403 92.446367 \n",
       "L 72.071351 92.446367 \n",
       "L 72.681298 86.74427 \n",
       "L 73.291245 92.446367 \n",
       "L 73.901192 92.446367 \n",
       "L 74.511139 87.813417 \n",
       "L 75.121086 88.08594 \n",
       "L 75.731034 92.446367 \n",
       "L 76.340981 92.446367 \n",
       "L 76.950928 99.859098 \n",
       "L 77.560875 103.035977 \n",
       "L 78.170822 102.554633 \n",
       "L 78.780769 98.892224 \n",
       "L 79.390717 104.800912 \n",
       "L 80.000664 107.271818 \n",
       "L 80.610611 103.850562 \n",
       "L 81.220558 108.919093 \n",
       "L 81.830505 110.978189 \n",
       "L 82.440452 110.339155 \n",
       "L 83.0504 112.213643 \n",
       "L 83.660347 116.358389 \n",
       "L 84.270294 113.294664 \n",
       "L 84.880241 112.662898 \n",
       "L 85.490188 114.248504 \n",
       "L 86.100135 109.389744 \n",
       "L 86.710083 108.919093 \n",
       "L 87.32003 112.480764 \n",
       "L 88.539924 111.453358 \n",
       "L 89.149871 109.125009 \n",
       "L 89.759819 110.526194 \n",
       "L 91.58966 104.239342 \n",
       "L 93.419502 103.486602 \n",
       "L 94.029449 106.345228 \n",
       "L 94.639396 107.574385 \n",
       "L 95.249343 105.789281 \n",
       "L 95.85929 106.981125 \n",
       "L 96.469237 106.701611 \n",
       "L 97.689132 108.919093 \n",
       "L 98.299079 105.924051 \n",
       "L 99.518973 108.052106 \n",
       "L 102.568709 106.793578 \n",
       "L 103.178656 107.74247 \n",
       "L 103.788603 105.186996 \n",
       "L 104.398551 103.850562 \n",
       "L 105.008498 105.924051 \n",
       "L 105.618445 105.722895 \n",
       "L 106.228392 106.617762 \n",
       "L 106.838339 108.560998 \n",
       "L 107.448286 108.330781 \n",
       "L 108.058234 109.15111 \n",
       "L 109.278128 108.693438 \n",
       "L 109.888075 106.470444 \n",
       "L 110.498022 107.271818 \n",
       "L 111.107969 109.027475 \n",
       "L 112.327864 108.60231 \n",
       "L 114.157705 110.749397 \n",
       "L 115.987547 115.390521 \n",
       "L 116.597494 113.376425 \n",
       "L 117.207441 113.994991 \n",
       "L 117.817388 112.895269 \n",
       "L 118.427335 113.505253 \n",
       "L 119.037283 114.934417 \n",
       "L 119.64723 113.860917 \n",
       "L 120.257177 115.254757 \n",
       "L 120.867124 115.812571 \n",
       "L 121.477071 115.561322 \n",
       "L 122.087018 116.104004 \n",
       "L 122.696966 117.415552 \n",
       "L 123.306913 117.155456 \n",
       "L 124.526807 113.625586 \n",
       "L 125.136754 114.909177 \n",
       "L 126.356649 115.932241 \n",
       "L 126.966596 114.975242 \n",
       "L 127.576543 115.476203 \n",
       "L 128.18649 113.829238 \n",
       "L 128.796437 115.037541 \n",
       "L 129.406384 114.1251 \n",
       "L 130.016332 114.61527 \n",
       "L 130.626279 114.410005 \n",
       "L 131.236226 114.888566 \n",
       "L 131.846173 114.010666 \n",
       "L 133.676015 113.43816 \n",
       "L 134.285962 113.904261 \n",
       "L 134.895909 113.073085 \n",
       "L 138.555592 115.726005 \n",
       "L 139.775486 116.552796 \n",
       "L 140.385433 116.358389 \n",
       "L 140.995381 117.353132 \n",
       "L 141.605328 117.743767 \n",
       "L 142.215275 117.544578 \n",
       "L 142.825222 118.506736 \n",
       "L 143.435169 117.730093 \n",
       "L 144.045116 118.676024 \n",
       "L 144.655064 118.475796 \n",
       "L 145.265011 117.717025 \n",
       "L 145.874958 118.084376 \n",
       "L 146.484905 118.999424 \n",
       "L 147.094852 118.802731 \n",
       "L 147.704799 118.063886 \n",
       "L 148.314747 117.876892 \n",
       "L 148.924694 118.76692 \n",
       "L 150.754535 119.784086 \n",
       "L 151.364482 119.069542 \n",
       "L 151.97443 118.883365 \n",
       "L 152.584377 119.214552 \n",
       "L 153.804271 118.847864 \n",
       "L 155.024165 119.492807 \n",
       "L 155.634113 120.306288 \n",
       "L 156.24406 120.614732 \n",
       "L 156.854007 119.446371 \n",
       "L 157.463954 119.268732 \n",
       "L 158.073901 120.062407 \n",
       "L 161.123637 121.534285 \n",
       "L 162.343531 121.17069 \n",
       "L 162.953479 121.913113 \n",
       "L 163.563426 122.188795 \n",
       "L 164.173373 122.006329 \n",
       "L 165.393267 122.546536 \n",
       "L 167.223109 122.009035 \n",
       "L 167.833056 121.395484 \n",
       "L 168.443003 122.09728 \n",
       "L 169.662897 122.614446 \n",
       "L 170.272845 122.440065 \n",
       "L 171.492739 121.25011 \n",
       "L 172.102686 121.507632 \n",
       "L 173.932528 121.020566 \n",
       "L 175.152422 119.88574 \n",
       "L 175.762369 119.734976 \n",
       "L 176.372316 119.180796 \n",
       "L 176.982263 119.841226 \n",
       "L 177.592211 119.693145 \n",
       "L 178.202158 119.9452 \n",
       "L 179.422052 119.652651 \n",
       "L 180.031999 119.900917 \n",
       "L 180.641946 118.976128 \n",
       "L 181.251894 119.613428 \n",
       "L 182.471788 120.100063 \n",
       "L 184.301629 119.676798 \n",
       "L 185.521524 120.150498 \n",
       "L 187.351365 119.737008 \n",
       "L 187.961312 119.234943 \n",
       "L 189.181207 118.972306 \n",
       "L 189.791154 119.566107 \n",
       "L 190.401101 119.794292 \n",
       "L 191.011048 119.662184 \n",
       "L 191.620995 119.887718 \n",
       "L 192.230943 119.047064 \n",
       "L 193.450837 118.794921 \n",
       "L 194.670731 117.155456 \n",
       "L 195.280678 117.039994 \n",
       "L 195.890626 117.615161 \n",
       "L 196.500573 116.125919 \n",
       "L 197.720467 115.908669 \n",
       "L 198.330414 115.463059 \n",
       "L 198.940361 116.032316 \n",
       "L 200.160256 115.819828 \n",
       "L 200.770203 116.37984 \n",
       "L 201.38015 116.603916 \n",
       "L 201.990097 115.837645 \n",
       "L 202.600044 116.390135 \n",
       "L 203.209992 116.611206 \n",
       "L 203.819939 116.505221 \n",
       "L 204.429886 116.076456 \n",
       "L 205.039833 115.329139 \n",
       "L 205.64978 115.871876 \n",
       "L 206.259727 115.770895 \n",
       "L 206.869675 115.352656 \n",
       "L 207.479622 115.254757 \n",
       "L 208.089569 115.788568 \n",
       "L 208.699516 116.003763 \n",
       "L 209.309463 116.529909 \n",
       "L 209.91941 116.740177 \n",
       "L 210.529358 116.638533 \n",
       "L 211.139305 115.920002 \n",
       "L 211.749252 116.437764 \n",
       "L 212.359199 116.032316 \n",
       "L 212.969146 115.935257 \n",
       "L 213.579093 116.142797 \n",
       "L 214.189041 116.651192 \n",
       "L 214.798988 116.251466 \n",
       "L 215.408935 116.455206 \n",
       "L 216.628829 116.262357 \n",
       "L 217.848724 116.663243 \n",
       "L 218.458671 116.567144 \n",
       "L 220.288512 117.155456 \n",
       "L 220.898459 116.769382 \n",
       "L 222.118354 116.58083 \n",
       "L 222.728301 116.773856 \n",
       "L 223.338248 116.680287 \n",
       "L 224.558142 117.627002 \n",
       "L 225.16809 116.967555 \n",
       "L 225.778037 116.874671 \n",
       "L 226.387984 116.502769 \n",
       "L 227.607878 116.87783 \n",
       "L 228.217825 116.51007 \n",
       "L 230.047667 117.064284 \n",
       "L 230.657614 117.51883 \n",
       "L 231.267561 117.426984 \n",
       "L 231.877508 117.606357 \n",
       "L 232.487456 118.053967 \n",
       "L 233.70735 117.869082 \n",
       "L 234.317297 118.04428 \n",
       "L 235.537191 117.861439 \n",
       "L 236.147139 118.034792 \n",
       "L 237.367033 117.853949 \n",
       "L 239.196874 119.142555 \n",
       "L 239.806822 119.049538 \n",
       "L 240.416769 119.214552 \n",
       "L 241.026716 119.634923 \n",
       "L 242.24661 119.448061 \n",
       "L 242.856557 119.60944 \n",
       "L 243.466505 119.263739 \n",
       "L 244.686399 119.081936 \n",
       "L 245.296346 119.492807 \n",
       "L 245.906293 119.401746 \n",
       "L 246.51624 119.808784 \n",
       "L 247.736135 120.120553 \n",
       "L 248.346082 120.028607 \n",
       "L 248.956029 120.18273 \n",
       "L 249.565976 120.580479 \n",
       "L 250.175923 120.000253 \n",
       "L 250.785871 119.90992 \n",
       "L 251.395818 120.062407 \n",
       "L 253.225659 119.074612 \n",
       "L 254.445554 118.903369 \n",
       "L 256.275395 119.358822 \n",
       "L 256.885342 119.273382 \n",
       "L 257.495289 119.423064 \n",
       "L 258.105237 119.805647 \n",
       "L 259.935078 119.549152 \n",
       "L 261.76492 119.985915 \n",
       "L 262.374867 119.900917 \n",
       "L 263.594761 120.187247 \n",
       "L 264.204708 120.102415 \n",
       "L 266.03455 120.524885 \n",
       "L 266.644497 120.440053 \n",
       "L 267.864391 120.717126 \n",
       "L 269.084286 120.548346 \n",
       "L 269.694233 120.685326 \n",
       "L 270.30418 121.041454 \n",
       "L 270.914127 121.176169 \n",
       "L 271.524074 120.872751 \n",
       "L 272.134021 121.007168 \n",
       "L 272.743969 120.488655 \n",
       "L 273.353916 120.40665 \n",
       "L 273.963863 120.541255 \n",
       "L 274.57381 120.890557 \n",
       "L 275.183757 120.808111 \n",
       "L 275.793704 120.511895 \n",
       "L 277.013599 121.202635 \n",
       "L 277.623546 121.120244 \n",
       "L 278.233493 120.191146 \n",
       "L 280.673282 120.715249 \n",
       "L 281.893176 121.38932 \n",
       "L 283.11307 120.399393 \n",
       "L 283.723018 120.115041 \n",
       "L 284.942912 120.37243 \n",
       "L 286.162806 121.035401 \n",
       "L 287.382701 121.284926 \n",
       "L 288.602595 121.127766 \n",
       "L 289.212542 121.45269 \n",
       "L 289.822489 121.374088 \n",
       "L 291.042384 121.617748 \n",
       "L 291.652331 121.340067 \n",
       "L 292.262278 121.262602 \n",
       "L 292.872225 120.987352 \n",
       "L 293.482172 120.515894 \n",
       "L 294.092119 120.638392 \n",
       "L 294.702067 120.366985 \n",
       "L 295.312014 120.489229 \n",
       "L 295.921961 120.219645 \n",
       "L 296.531908 119.756416 \n",
       "L 297.141855 119.68474 \n",
       "L 298.36175 119.155413 \n",
       "L 298.971697 118.699772 \n",
       "L 300.191591 118.947828 \n",
       "L 300.801538 119.262436 \n",
       "L 302.021433 118.362334 \n",
       "L 302.63138 118.105805 \n",
       "L 303.851274 117.97489 \n",
       "L 304.461221 117.721311 \n",
       "L 305.071168 118.033444 \n",
       "L 306.291063 118.278595 \n",
       "L 307.510957 118.148785 \n",
       "L 308.120904 117.527026 \n",
       "L 308.730851 117.279003 \n",
       "L 309.340799 117.586795 \n",
       "L 309.950746 117.524254 \n",
       "L 311.17064 117.033134 \n",
       "L 311.780587 116.972426 \n",
       "L 312.390534 116.72944 \n",
       "L 314.220376 117.095046 \n",
       "L 314.830323 117.034924 \n",
       "L 315.44027 117.155456 \n",
       "L 316.050217 117.095488 \n",
       "L 316.660165 117.215291 \n",
       "L 317.270112 116.976403 \n",
       "L 317.880059 116.917297 \n",
       "L 318.490006 117.21486 \n",
       "L 319.099953 117.155456 \n",
       "L 319.7099 117.45102 \n",
       "L 320.319848 117.214429 \n",
       "L 320.929795 117.155456 \n",
       "L 321.539742 116.920699 \n",
       "L 322.149689 117.21401 \n",
       "L 322.759636 117.155456 \n",
       "L 323.369583 117.272011 \n",
       "L 323.979531 117.039176 \n",
       "L 324.589478 117.329472 \n",
       "L 325.199425 117.271194 \n",
       "L 325.809372 117.386391 \n",
       "L 326.419319 117.155456 \n",
       "L 327.029266 117.44278 \n",
       "L 327.639214 117.556773 \n",
       "L 328.249161 117.327053 \n",
       "L 331.908844 118.001665 \n",
       "L 333.128738 117.885496 \n",
       "L 333.738685 117.995899 \n",
       "L 334.348632 118.273514 \n",
       "L 334.95858 118.382547 \n",
       "L 335.568527 118.157179 \n",
       "L 336.788421 118.374296 \n",
       "L 337.398368 118.647956 \n",
       "L 338.008315 118.754935 \n",
       "L 339.22821 118.638004 \n",
       "L 339.838157 118.744287 \n",
       "L 340.448104 118.522111 \n",
       "L 341.058051 118.791828 \n",
       "L 341.667998 118.897073 \n",
       "L 342.277946 118.838939 \n",
       "L 342.887893 118.618497 \n",
       "L 343.49784 118.561225 \n",
       "L 344.107787 118.180508 \n",
       "L 344.717734 118.447442 \n",
       "L 345.327681 118.552057 \n",
       "L 345.937629 118.334631 \n",
       "L 346.547576 118.599498 \n",
       "L 347.76747 118.167253 \n",
       "L 348.377417 118.111936 \n",
       "L 348.987365 117.89779 \n",
       "L 350.207259 118.422589 \n",
       "L 350.817206 118.20915 \n",
       "L 353.256995 117.991282 \n",
       "L 353.866942 118.250163 \n",
       "L 354.476889 118.19584 \n",
       "L 355.086836 118.297472 \n",
       "L 355.696783 118.554089 \n",
       "L 356.916678 118.445078 \n",
       "L 357.526625 118.545341 \n",
       "L 358.136572 118.182861 \n",
       "L 358.746519 118.283256 \n",
       "L 359.356466 118.229773 \n",
       "L 361.186308 118.528187 \n",
       "L 361.796255 118.474625 \n",
       "L 363.016149 118.671352 \n",
       "L 363.626097 118.617834 \n",
       "L 364.236044 118.413564 \n",
       "L 365.455938 118.30822 \n",
       "L 366.065885 118.40592 \n",
       "L 366.675832 118.652982 \n",
       "L 367.28578 118.749589 \n",
       "L 368.505674 118.643958 \n",
       "L 369.725568 117.946149 \n",
       "L 369.725568 117.946149 \n",
       "\" clip-path=\"url(#pc9e0f17c9a)\" style=\"fill: none; stroke: #d62728; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_18\">\n",
       "    <path d=\"M 65.361932 166.573638 \n",
       "L 67.191773 166.573638 \n",
       "L 67.80172 181.399095 \n",
       "L 68.411668 191.282727 \n",
       "L 69.021615 187.752857 \n",
       "L 69.631562 166.573638 \n",
       "L 70.241509 166.573638 \n",
       "L 70.851456 159.160913 \n",
       "L 72.071351 160.396366 \n",
       "L 73.291245 161.278834 \n",
       "L 73.901192 151.748187 \n",
       "L 74.511139 157.307733 \n",
       "L 75.731034 158.337275 \n",
       "L 76.340981 158.770769 \n",
       "L 76.950928 162.867278 \n",
       "L 77.560875 163.043768 \n",
       "L 78.170822 153.095955 \n",
       "L 78.780769 156.904864 \n",
       "L 79.390717 157.307733 \n",
       "L 80.000664 154.713279 \n",
       "L 80.610611 149.467346 \n",
       "L 81.220558 141.864544 \n",
       "L 82.440452 143.568628 \n",
       "L 83.0504 139.393638 \n",
       "L 83.660347 142.661622 \n",
       "L 84.270294 141.092386 \n",
       "L 84.880241 144.110834 \n",
       "L 85.490188 144.771496 \n",
       "L 86.100135 147.51234 \n",
       "L 87.32003 144.5358 \n",
       "L 87.929977 145.11575 \n",
       "L 89.149871 138.775911 \n",
       "L 89.759819 137.645923 \n",
       "L 90.369766 134.804805 \n",
       "L 90.979713 133.819727 \n",
       "L 91.58966 134.564138 \n",
       "L 92.809554 129.51 \n",
       "L 94.029449 127.965683 \n",
       "L 94.639396 128.753604 \n",
       "L 95.85929 133.143689 \n",
       "L 96.469237 132.361049 \n",
       "L 97.689132 128.13728 \n",
       "L 98.299079 128.836116 \n",
       "L 98.909026 126.862603 \n",
       "L 99.518973 126.258805 \n",
       "L 100.12892 124.397783 \n",
       "L 100.738868 123.856228 \n",
       "L 101.348815 122.09728 \n",
       "L 101.958762 119.180796 \n",
       "L 102.568709 119.9452 \n",
       "L 103.178656 121.861949 \n",
       "L 103.788603 122.560575 \n",
       "L 104.398551 122.09728 \n",
       "L 105.008498 122.771164 \n",
       "L 106.228392 119.699044 \n",
       "L 107.448286 118.920391 \n",
       "L 108.058234 120.635608 \n",
       "L 110.498022 123.085638 \n",
       "L 111.107969 121.707131 \n",
       "L 111.717917 122.28982 \n",
       "L 112.327864 123.807903 \n",
       "L 112.937811 122.472606 \n",
       "L 113.547758 122.09728 \n",
       "L 114.157705 120.816064 \n",
       "L 114.767652 121.374088 \n",
       "L 115.3776 122.811757 \n",
       "L 117.207441 124.338334 \n",
       "L 117.817388 125.67584 \n",
       "L 118.427335 126.140582 \n",
       "L 119.037283 127.427774 \n",
       "L 119.64723 127.039093 \n",
       "L 120.867124 124.675618 \n",
       "L 122.696966 128.339573 \n",
       "L 123.306913 127.193525 \n",
       "L 123.91686 127.599503 \n",
       "L 124.526807 127.240801 \n",
       "L 125.136754 128.386861 \n",
       "L 125.746701 127.286188 \n",
       "L 126.356649 126.941238 \n",
       "L 127.576543 127.710801 \n",
       "L 128.18649 126.658951 \n",
       "L 128.796437 127.745065 \n",
       "L 129.406384 128.111378 \n",
       "L 130.016332 126.392504 \n",
       "L 130.626279 125.391819 \n",
       "L 132.45612 124.501404 \n",
       "L 133.066067 122.229642 \n",
       "L 133.676015 121.966078 \n",
       "L 134.285962 122.357376 \n",
       "L 134.895909 122.09728 \n",
       "L 136.115803 122.857553 \n",
       "L 136.72575 122.599832 \n",
       "L 137.335698 122.969359 \n",
       "L 137.945645 122.715007 \n",
       "L 138.555592 121.852228 \n",
       "L 139.165539 122.826393 \n",
       "L 140.385433 122.3364 \n",
       "L 140.995381 123.283314 \n",
       "L 141.605328 123.038572 \n",
       "L 142.215275 123.965052 \n",
       "L 142.825222 124.297929 \n",
       "L 144.045116 123.807903 \n",
       "L 144.655064 123.002651 \n",
       "L 145.265011 123.894303 \n",
       "L 145.874958 123.657856 \n",
       "L 146.484905 123.978119 \n",
       "L 147.094852 123.744555 \n",
       "L 148.924694 124.675618 \n",
       "L 149.534641 123.910463 \n",
       "L 151.97443 125.103843 \n",
       "L 152.584377 123.332733 \n",
       "L 153.194324 123.119726 \n",
       "L 153.804271 123.925077 \n",
       "L 155.024165 123.49968 \n",
       "L 155.634113 123.788771 \n",
       "L 156.24406 123.085638 \n",
       "L 156.854007 123.373636 \n",
       "L 157.463954 122.682488 \n",
       "L 158.073901 122.969359 \n",
       "L 159.293796 122.57552 \n",
       "L 159.903743 122.857553 \n",
       "L 160.51369 122.191711 \n",
       "L 161.123637 121.065125 \n",
       "L 162.343531 120.707395 \n",
       "L 162.953479 120.071443 \n",
       "L 163.563426 120.816064 \n",
       "L 164.173373 119.73248 \n",
       "L 164.78332 119.114112 \n",
       "L 165.393267 118.952479 \n",
       "L 166.003214 118.346262 \n",
       "L 166.613162 118.635044 \n",
       "L 167.223109 118.479165 \n",
       "L 167.833056 118.763739 \n",
       "L 168.443003 118.608932 \n",
       "L 169.05295 119.322923 \n",
       "L 169.662897 118.304719 \n",
       "L 170.272845 118.583736 \n",
       "L 170.882792 119.285555 \n",
       "L 172.102686 118.980557 \n",
       "L 173.32258 120.348207 \n",
       "L 174.542475 120.861827 \n",
       "L 175.152422 121.523913 \n",
       "L 175.762369 121.364147 \n",
       "L 176.372316 121.611198 \n",
       "L 177.592211 121.295906 \n",
       "L 179.422052 122.018424 \n",
       "L 180.031999 121.861949 \n",
       "L 180.641946 122.09728 \n",
       "L 181.251894 121.553936 \n",
       "L 182.471788 121.252308 \n",
       "L 183.081735 120.721722 \n",
       "L 184.911577 121.419972 \n",
       "L 185.521524 121.273637 \n",
       "L 186.131471 120.383786 \n",
       "L 186.741418 119.873457 \n",
       "L 187.961312 121.069775 \n",
       "L 188.57126 120.928764 \n",
       "L 189.181207 120.425782 \n",
       "L 189.791154 121.012492 \n",
       "L 190.401101 121.233662 \n",
       "L 191.620995 120.956854 \n",
       "L 192.230943 121.529801 \n",
       "L 193.450837 121.956755 \n",
       "L 194.060784 121.817556 \n",
       "L 194.670731 122.027669 \n",
       "L 195.280678 122.582225 \n",
       "L 195.890626 122.09728 \n",
       "L 196.500573 122.646368 \n",
       "L 197.720467 122.369306 \n",
       "L 198.330414 122.571146 \n",
       "L 198.940361 121.760338 \n",
       "L 200.160256 122.164063 \n",
       "L 200.770203 122.030795 \n",
       "L 201.38015 121.567799 \n",
       "L 201.990097 121.767827 \n",
       "L 202.600044 122.294072 \n",
       "L 203.209992 121.836035 \n",
       "L 203.819939 122.357376 \n",
       "L 204.429886 121.903061 \n",
       "L 205.039833 122.09728 \n",
       "L 205.64978 122.610712 \n",
       "L 206.259727 121.841669 \n",
       "L 206.869675 122.351787 \n",
       "L 207.479622 121.907204 \n",
       "L 208.089569 121.150973 \n",
       "L 208.699516 121.343436 \n",
       "L 209.309463 121.221512 \n",
       "L 209.91941 121.412063 \n",
       "L 211.139305 122.406143 \n",
       "L 211.749252 122.281823 \n",
       "L 212.969146 122.646368 \n",
       "L 213.579093 121.611198 \n",
       "L 214.189041 121.794713 \n",
       "L 214.798988 121.675418 \n",
       "L 215.408935 121.857188 \n",
       "L 216.018882 121.1408 \n",
       "L 216.628829 121.025559 \n",
       "L 217.238776 121.504263 \n",
       "L 217.848724 121.093159 \n",
       "L 219.068618 120.866709 \n",
       "L 220.288512 121.22519 \n",
       "L 220.898459 121.691898 \n",
       "L 221.508407 121.866533 \n",
       "L 222.118354 121.465183 \n",
       "L 222.728301 121.639353 \n",
       "L 223.338248 121.527073 \n",
       "L 223.948195 121.699664 \n",
       "L 224.558142 121.588001 \n",
       "L 225.16809 121.195344 \n",
       "L 225.778037 121.648024 \n",
       "L 226.387984 121.817556 \n",
       "L 226.997931 121.428455 \n",
       "L 227.607878 121.319908 \n",
       "L 228.217825 120.93558 \n",
       "L 228.827773 120.829672 \n",
       "L 229.43772 120.450005 \n",
       "L 230.047667 120.893738 \n",
       "L 230.657614 120.516623 \n",
       "L 231.267561 119.87074 \n",
       "L 232.487456 120.210399 \n",
       "L 233.097403 119.841226 \n",
       "L 233.70735 120.277547 \n",
       "L 234.317297 119.910792 \n",
       "L 235.537191 120.2441 \n",
       "L 236.147139 120.672766 \n",
       "L 236.757086 120.835538 \n",
       "L 238.586927 120.536704 \n",
       "L 239.196874 120.697675 \n",
       "L 239.806822 121.115803 \n",
       "L 240.416769 121.273637 \n",
       "L 241.026716 120.917398 \n",
       "L 241.636663 120.819223 \n",
       "L 242.24661 120.976449 \n",
       "L 242.856557 120.878749 \n",
       "L 243.466505 121.034705 \n",
       "L 244.076452 120.685326 \n",
       "L 244.686399 121.092165 \n",
       "L 245.296346 120.744951 \n",
       "L 245.906293 120.899261 \n",
       "L 247.736135 120.614732 \n",
       "L 248.346082 120.767418 \n",
       "L 248.956029 120.673639 \n",
       "L 250.175923 120.000253 \n",
       "L 252.005765 120.455374 \n",
       "L 252.615712 120.364433 \n",
       "L 253.225659 119.794292 \n",
       "L 253.835606 119.9452 \n",
       "L 254.445554 120.333483 \n",
       "L 255.665448 120.155281 \n",
       "L 256.885342 119.508702 \n",
       "L 257.495289 119.892224 \n",
       "L 258.105237 120.039487 \n",
       "L 258.715184 119.952711 \n",
       "L 259.325131 120.331241 \n",
       "L 259.935078 120.2441 \n",
       "L 260.545025 120.388425 \n",
       "L 261.154972 120.301649 \n",
       "L 261.76492 120.444902 \n",
       "L 262.374867 120.358491 \n",
       "L 262.984814 120.500695 \n",
       "L 263.594761 120.414637 \n",
       "L 264.204708 120.102415 \n",
       "L 264.814655 120.018103 \n",
       "L 265.424603 119.708985 \n",
       "L 266.03455 119.851001 \n",
       "L 266.644497 119.320305 \n",
       "L 267.254444 119.68591 \n",
       "L 267.864391 119.381499 \n",
       "L 268.474338 119.300864 \n",
       "L 269.084286 119.441974 \n",
       "L 269.694233 119.802864 \n",
       "L 271.524074 118.904772 \n",
       "L 272.134021 118.826954 \n",
       "L 272.743969 119.184364 \n",
       "L 273.353916 119.322923 \n",
       "L 273.963863 119.244564 \n",
       "L 274.57381 119.597632 \n",
       "L 276.403652 120.003765 \n",
       "L 277.013599 119.285555 \n",
       "L 278.233493 119.979354 \n",
       "L 278.84344 119.900917 \n",
       "L 279.453387 119.401746 \n",
       "L 280.063335 119.325375 \n",
       "L 280.673282 119.458852 \n",
       "L 281.283229 119.173948 \n",
       "L 281.893176 118.68243 \n",
       "L 282.503123 118.816571 \n",
       "L 283.11307 119.157036 \n",
       "L 283.723018 119.289111 \n",
       "L 285.552859 119.066659 \n",
       "L 286.162806 119.19753 \n",
       "L 286.772753 118.920391 \n",
       "L 287.382701 118.847864 \n",
       "L 287.992648 118.97826 \n",
       "L 288.602595 118.905965 \n",
       "L 289.212542 119.035499 \n",
       "L 289.822489 118.963436 \n",
       "L 290.432436 118.691433 \n",
       "L 291.652331 119.3474 \n",
       "L 292.262278 118.877809 \n",
       "L 293.482172 118.736842 \n",
       "L 294.092119 118.469776 \n",
       "L 294.702067 118.597367 \n",
       "L 295.312014 118.920391 \n",
       "L 295.921961 118.850537 \n",
       "L 296.531908 118.976128 \n",
       "L 297.141855 118.711934 \n",
       "L 297.751802 118.837227 \n",
       "L 298.36175 118.574778 \n",
       "L 299.581644 118.439047 \n",
       "L 300.191591 118.563754 \n",
       "L 300.801538 118.304719 \n",
       "L 301.411485 118.620176 \n",
       "L 302.021433 118.362334 \n",
       "L 303.241327 118.229773 \n",
       "L 304.461221 118.475796 \n",
       "L 305.071168 118.409731 \n",
       "L 306.291063 118.652982 \n",
       "L 306.90101 118.586972 \n",
       "L 307.510957 118.707538 \n",
       "L 308.120904 119.013286 \n",
       "L 308.730851 118.761552 \n",
       "L 309.340799 118.695928 \n",
       "L 309.950746 118.815025 \n",
       "L 310.560693 118.749589 \n",
       "L 311.780587 118.98576 \n",
       "L 312.390534 119.285555 \n",
       "L 313.610429 118.790624 \n",
       "L 314.220376 118.726205 \n",
       "L 315.44027 119.319763 \n",
       "L 316.050217 119.434452 \n",
       "L 316.660165 119.010138 \n",
       "L 317.270112 119.304078 \n",
       "L 317.880059 119.060739 \n",
       "L 318.490006 118.640379 \n",
       "L 319.099953 118.933093 \n",
       "L 319.7099 119.047064 \n",
       "L 320.929795 119.626373 \n",
       "L 322.149689 119.497557 \n",
       "L 323.979531 119.82986 \n",
       "L 325.809372 119.637916 \n",
       "L 328.249161 120.072503 \n",
       "L 328.859108 119.837503 \n",
       "L 330.079002 120.052389 \n",
       "L 330.688949 119.819057 \n",
       "L 333.738685 120.349146 \n",
       "L 334.348632 120.286019 \n",
       "L 334.95858 120.055846 \n",
       "L 335.568527 120.160616 \n",
       "L 336.178474 119.765186 \n",
       "L 337.398368 119.311291 \n",
       "L 338.618263 119.521814 \n",
       "L 339.22821 119.132183 \n",
       "L 339.838157 119.073011 \n",
       "L 340.448104 119.178101 \n",
       "L 341.058051 118.791828 \n",
       "L 341.667998 118.897073 \n",
       "L 342.277946 118.838939 \n",
       "L 342.887893 118.618497 \n",
       "L 345.327681 119.035499 \n",
       "L 345.937629 118.65623 \n",
       "L 346.547576 118.599498 \n",
       "L 347.157523 118.863217 \n",
       "L 347.76747 118.806287 \n",
       "L 348.377417 118.909002 \n",
       "L 348.987365 118.852216 \n",
       "L 349.597312 118.636944 \n",
       "L 350.207259 118.580986 \n",
       "L 350.817206 118.841369 \n",
       "L 351.427153 118.785212 \n",
       "L 352.0371 118.886668 \n",
       "L 352.647048 118.830654 \n",
       "L 353.256995 118.461437 \n",
       "L 354.476889 118.664017 \n",
       "L 355.086836 118.920391 \n",
       "L 355.696783 118.554089 \n",
       "L 356.306731 118.499467 \n",
       "L 357.526625 118.699772 \n",
       "L 358.136572 118.953418 \n",
       "L 358.746519 118.590839 \n",
       "L 359.356466 118.383243 \n",
       "L 359.966414 118.48281 \n",
       "L 361.796255 118.322414 \n",
       "L 362.406202 118.117492 \n",
       "L 363.016149 118.216584 \n",
       "L 363.626097 118.466551 \n",
       "L 364.236044 118.413564 \n",
       "L 365.455938 118.608932 \n",
       "L 366.065885 118.555978 \n",
       "L 366.675832 118.353475 \n",
       "L 369.725568 118.83568 \n",
       "L 369.725568 118.83568 \n",
       "\" clip-path=\"url(#pc9e0f17c9a)\" style=\"fill: none; stroke: #9467bd; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_19\">\n",
       "    <path d=\"M 65.361932 166.573638 \n",
       "L 66.581826 92.446367 \n",
       "L 67.80172 92.446367 \n",
       "L 68.411668 104.800912 \n",
       "L 69.021615 92.446367 \n",
       "L 69.631562 110.978189 \n",
       "L 70.241509 117.155456 \n",
       "L 70.851456 114.684549 \n",
       "L 71.461403 119.401746 \n",
       "L 72.681298 115.254757 \n",
       "L 73.291245 108.330781 \n",
       "L 73.901192 112.213643 \n",
       "L 74.511139 110.978189 \n",
       "L 75.121086 118.608932 \n",
       "L 75.731034 121.273637 \n",
       "L 76.340981 115.854976 \n",
       "L 76.950928 118.390909 \n",
       "L 77.560875 113.625586 \n",
       "L 78.170822 119.401746 \n",
       "L 78.780769 118.229773 \n",
       "L 79.390717 114.066822 \n",
       "L 80.000664 116.167098 \n",
       "L 80.610611 120.956854 \n",
       "L 81.220558 122.646368 \n",
       "L 81.830505 118.920391 \n",
       "L 83.0504 122.09728 \n",
       "L 83.660347 118.749589 \n",
       "L 84.270294 117.927614 \n",
       "L 84.880241 121.648024 \n",
       "L 86.710083 125.391819 \n",
       "L 87.32003 122.497967 \n",
       "L 87.929977 117.805701 \n",
       "L 89.149871 116.537729 \n",
       "L 90.369766 122.45026 \n",
       "L 91.58966 121.086455 \n",
       "L 93.419502 123.989894 \n",
       "L 94.029449 124.87705 \n",
       "L 94.639396 124.215195 \n",
       "L 95.249343 125.062366 \n",
       "L 95.85929 122.969359 \n",
       "L 96.469237 123.807903 \n",
       "L 97.689132 122.646368 \n",
       "L 98.299079 123.445047 \n",
       "L 98.909026 125.538905 \n",
       "L 99.518973 123.657856 \n",
       "L 100.738868 122.599832 \n",
       "L 101.348815 124.568187 \n",
       "L 102.568709 123.532 \n",
       "L 103.178656 121.861949 \n",
       "L 104.398551 123.237695 \n",
       "L 106.228392 121.879258 \n",
       "L 106.838339 122.526996 \n",
       "L 107.448286 124.215195 \n",
       "L 108.058234 118.547517 \n",
       "L 108.668181 118.185004 \n",
       "L 109.888075 119.492807 \n",
       "L 110.498022 119.132183 \n",
       "L 111.107969 119.756416 \n",
       "L 111.717917 119.401746 \n",
       "L 112.937811 114.966041 \n",
       "L 113.547758 114.684549 \n",
       "L 114.157705 116.240309 \n",
       "L 115.3776 117.453163 \n",
       "L 115.987547 117.155456 \n",
       "L 116.597494 115.992684 \n",
       "L 117.207441 117.44278 \n",
       "L 117.817388 115.451383 \n",
       "L 118.427335 114.347607 \n",
       "L 119.037283 114.101528 \n",
       "L 119.64723 114.684549 \n",
       "L 120.867124 112.589653 \n",
       "L 121.477071 112.373056 \n",
       "L 122.696966 110.39297 \n",
       "L 124.526807 114.381993 \n",
       "L 125.136754 113.411662 \n",
       "L 126.356649 112.996504 \n",
       "L 126.966596 111.341553 \n",
       "L 127.576543 110.438424 \n",
       "L 128.18649 111.690954 \n",
       "L 128.796437 111.507671 \n",
       "L 129.406384 112.027156 \n",
       "L 130.016332 111.84416 \n",
       "L 131.236226 112.848369 \n",
       "L 131.846173 112.662898 \n",
       "L 132.45612 113.816392 \n",
       "L 133.066067 113.625586 \n",
       "L 134.285962 111.953546 \n",
       "L 134.895909 113.073085 \n",
       "L 135.505856 112.256246 \n",
       "L 136.115803 112.086925 \n",
       "L 136.72575 112.548684 \n",
       "L 137.335698 111.133913 \n",
       "L 137.945645 110.978189 \n",
       "L 138.555592 111.437651 \n",
       "L 139.775486 109.923534 \n",
       "L 140.385433 109.782589 \n",
       "L 140.995381 110.236915 \n",
       "L 141.605328 111.272339 \n",
       "L 142.215275 111.124105 \n",
       "L 142.825222 111.557311 \n",
       "L 143.435169 110.834527 \n",
       "L 144.045116 110.693085 \n",
       "L 144.655064 111.119653 \n",
       "L 145.265011 110.978189 \n",
       "L 145.874958 111.396196 \n",
       "L 146.484905 109.595219 \n",
       "L 147.094852 110.01728 \n",
       "L 147.704799 110.978189 \n",
       "L 148.314747 111.383991 \n",
       "L 149.534641 110.044928 \n",
       "L 150.754535 110.846755 \n",
       "L 151.364482 111.761217 \n",
       "L 151.97443 112.144529 \n",
       "L 152.584377 112.007737 \n",
       "L 153.194324 112.384046 \n",
       "L 153.804271 111.739766 \n",
       "L 155.024165 112.480764 \n",
       "L 157.463954 111.953546 \n",
       "L 158.073901 111.341553 \n",
       "L 158.683848 111.700211 \n",
       "L 159.293796 111.097749 \n",
       "L 159.903743 110.978189 \n",
       "L 160.51369 111.332296 \n",
       "L 161.123637 112.15109 \n",
       "L 161.733584 112.027156 \n",
       "L 162.343531 112.368074 \n",
       "L 162.953479 113.165174 \n",
       "L 163.563426 113.037274 \n",
       "L 164.78332 114.59415 \n",
       "L 166.003214 114.327305 \n",
       "L 167.223109 114.949295 \n",
       "L 167.833056 114.816138 \n",
       "L 168.443003 113.376425 \n",
       "L 169.662897 113.994991 \n",
       "L 170.272845 113.870439 \n",
       "L 170.882792 113.321296 \n",
       "L 171.492739 113.625586 \n",
       "L 172.712633 113.386278 \n",
       "L 173.32258 112.019302 \n",
       "L 176.372316 113.509859 \n",
       "L 176.982263 113.39538 \n",
       "L 177.592211 114.083524 \n",
       "L 178.202158 113.967189 \n",
       "L 178.812105 114.644906 \n",
       "L 179.422052 114.921129 \n",
       "L 180.031999 114.410005 \n",
       "L 180.641946 114.684549 \n",
       "L 181.251894 113.791914 \n",
       "L 181.861841 113.680749 \n",
       "L 184.301629 114.760191 \n",
       "L 185.521524 114.534801 \n",
       "L 186.741418 115.055192 \n",
       "L 187.351365 115.680286 \n",
       "L 188.57126 115.451383 \n",
       "L 190.401101 116.195883 \n",
       "L 191.011048 116.797361 \n",
       "L 191.620995 116.323904 \n",
       "L 192.230943 116.209657 \n",
       "L 194.060784 116.922356 \n",
       "L 194.670731 116.807446 \n",
       "L 195.280678 116.347222 \n",
       "L 196.500573 116.125919 \n",
       "L 197.11052 116.358389 \n",
       "L 197.720467 116.248704 \n",
       "L 198.330414 115.801536 \n",
       "L 198.940361 115.695375 \n",
       "L 199.550309 115.925592 \n",
       "L 201.38015 115.611139 \n",
       "L 201.990097 115.837645 \n",
       "L 202.600044 115.078145 \n",
       "L 203.819939 115.529864 \n",
       "L 204.429886 116.076456 \n",
       "L 205.64978 116.51366 \n",
       "L 206.259727 117.048952 \n",
       "L 206.869675 117.261507 \n",
       "L 208.089569 117.050311 \n",
       "L 209.309463 117.468229 \n",
       "L 209.91941 117.986013 \n",
       "L 211.139305 117.155456 \n",
       "L 211.749252 116.437764 \n",
       "L 213.579093 117.054188 \n",
       "L 214.189041 116.953748 \n",
       "L 214.798988 117.155456 \n",
       "L 215.408935 116.455206 \n",
       "L 216.018882 116.956189 \n",
       "L 216.628829 116.560064 \n",
       "L 219.678565 117.544578 \n",
       "L 220.898459 117.348504 \n",
       "L 221.508407 117.828467 \n",
       "L 222.118354 118.017406 \n",
       "L 224.558142 117.627002 \n",
       "L 225.16809 117.813113 \n",
       "L 225.778037 117.155456 \n",
       "L 226.387984 117.341942 \n",
       "L 227.607878 117.155456 \n",
       "L 228.217825 117.339855 \n",
       "L 228.827773 117.798444 \n",
       "L 230.047667 118.158417 \n",
       "L 231.267561 117.970041 \n",
       "L 231.877508 117.606357 \n",
       "L 232.487456 116.7062 \n",
       "L 233.097403 116.886888 \n",
       "L 233.70735 116.263439 \n",
       "L 234.317297 116.444403 \n",
       "L 234.927244 115.295637 \n",
       "L 235.537191 115.214031 \n",
       "L 236.147139 114.869213 \n",
       "L 236.757086 115.052563 \n",
       "L 237.367033 114.710739 \n",
       "L 237.97698 114.893359 \n",
       "L 238.586927 114.814603 \n",
       "L 239.196874 114.218018 \n",
       "L 241.636663 114.940161 \n",
       "L 242.24661 114.862862 \n",
       "L 242.856557 114.532238 \n",
       "L 243.466505 114.709855 \n",
       "L 244.076452 114.634125 \n",
       "L 244.686399 114.307632 \n",
       "L 245.296346 114.23378 \n",
       "L 245.906293 114.410005 \n",
       "L 247.126188 114.263096 \n",
       "L 247.736135 113.449096 \n",
       "L 248.346082 113.625586 \n",
       "L 248.956029 113.555456 \n",
       "L 249.565976 113.730433 \n",
       "L 250.175923 114.148098 \n",
       "L 250.785871 113.83391 \n",
       "L 251.395818 113.764012 \n",
       "L 252.005765 113.936029 \n",
       "L 252.615712 114.347607 \n",
       "L 253.225659 114.516619 \n",
       "L 253.835606 113.967189 \n",
       "L 254.445554 114.136345 \n",
       "L 256.885342 113.860917 \n",
       "L 257.495289 113.558571 \n",
       "L 258.105237 113.024284 \n",
       "L 258.715184 112.726467 \n",
       "L 259.935078 112.599716 \n",
       "L 260.545025 111.84416 \n",
       "L 261.154972 112.014122 \n",
       "L 261.76492 111.953546 \n",
       "L 262.374867 112.350909 \n",
       "L 262.984814 111.605415 \n",
       "L 263.594761 111.77403 \n",
       "L 264.204708 111.714924 \n",
       "L 264.814655 111.430184 \n",
       "L 266.03455 111.315131 \n",
       "L 266.644497 111.706021 \n",
       "L 267.254444 111.648008 \n",
       "L 268.474338 111.976908 \n",
       "L 269.084286 111.918609 \n",
       "L 270.30418 112.682891 \n",
       "L 270.914127 112.623023 \n",
       "L 271.524074 113.000834 \n",
       "L 272.134021 112.722358 \n",
       "L 273.353916 113.037274 \n",
       "L 274.57381 112.91756 \n",
       "L 275.183757 112.643369 \n",
       "L 276.403652 112.954199 \n",
       "L 277.013599 113.321296 \n",
       "L 277.623546 113.049082 \n",
       "L 278.233493 112.990208 \n",
       "L 278.84344 113.354058 \n",
       "L 279.453387 113.505253 \n",
       "L 280.063335 113.445594 \n",
       "L 280.673282 112.75808 \n",
       "L 282.503123 113.210307 \n",
       "L 283.11307 113.566425 \n",
       "L 283.723018 113.714085 \n",
       "L 284.332965 114.066822 \n",
       "L 284.942912 114.212274 \n",
       "L 285.552859 113.947373 \n",
       "L 287.382701 113.770651 \n",
       "L 288.602595 114.058406 \n",
       "L 289.212542 113.798243 \n",
       "L 289.822489 114.142155 \n",
       "L 290.432436 114.283862 \n",
       "L 291.042384 113.825394 \n",
       "L 292.872225 114.843112 \n",
       "L 293.482172 114.585711 \n",
       "L 294.092119 114.526837 \n",
       "L 294.702067 114.664888 \n",
       "L 295.312014 114.606113 \n",
       "L 295.921961 114.938813 \n",
       "L 296.531908 114.879618 \n",
       "L 298.36175 115.865171 \n",
       "L 300.801538 115.623113 \n",
       "L 301.411485 115.372328 \n",
       "L 302.021433 115.694513 \n",
       "L 302.63138 115.824975 \n",
       "L 303.851274 115.327493 \n",
       "L 304.461221 115.269271 \n",
       "L 305.071168 115.587623 \n",
       "L 305.681116 115.341378 \n",
       "L 306.90101 115.599475 \n",
       "L 308.120904 115.483416 \n",
       "L 308.730851 115.611139 \n",
       "L 309.950746 115.495898 \n",
       "L 310.560693 115.806573 \n",
       "L 311.17064 115.748759 \n",
       "L 312.390534 116.364277 \n",
       "L 313.610429 116.610411 \n",
       "L 314.220376 116.370087 \n",
       "L 314.830323 116.49253 \n",
       "L 317.270112 116.260203 \n",
       "L 317.880059 116.381442 \n",
       "L 318.490006 116.323904 \n",
       "L 320.319848 115.622196 \n",
       "L 320.929795 115.567022 \n",
       "L 321.539742 115.688173 \n",
       "L 322.149689 115.984411 \n",
       "L 322.759636 115.928762 \n",
       "L 323.979531 116.167098 \n",
       "L 324.589478 116.459425 \n",
       "L 325.199425 116.403191 \n",
       "L 325.809372 116.693608 \n",
       "L 327.029266 116.58083 \n",
       "L 327.639214 116.696822 \n",
       "L 328.249161 116.640687 \n",
       "L 328.859108 116.927205 \n",
       "L 330.079002 116.473829 \n",
       "L 330.688949 116.588739 \n",
       "L 331.908844 116.478501 \n",
       "L 332.518791 116.254901 \n",
       "L 334.348632 116.0933 \n",
       "L 334.95858 116.374582 \n",
       "L 335.568527 116.32069 \n",
       "L 336.178474 116.433622 \n",
       "L 336.788421 116.047427 \n",
       "L 337.398368 116.32629 \n",
       "L 338.008315 116.107527 \n",
       "L 339.838157 115.950135 \n",
       "L 340.448104 115.734145 \n",
       "L 341.058051 116.010004 \n",
       "L 342.887893 115.854976 \n",
       "L 343.49784 116.128172 \n",
       "L 344.107787 116.23831 \n",
       "L 345.327681 116.134866 \n",
       "L 345.937629 116.244275 \n",
       "L 346.547576 116.192768 \n",
       "L 347.157523 116.30158 \n",
       "L 347.76747 116.569685 \n",
       "L 348.377417 116.517802 \n",
       "L 348.987365 116.625223 \n",
       "L 349.597312 116.573451 \n",
       "L 350.207259 116.363503 \n",
       "L 350.817206 116.470559 \n",
       "L 351.427153 116.419439 \n",
       "L 352.0371 116.525932 \n",
       "L 353.256995 117.050984 \n",
       "L 353.866942 116.529909 \n",
       "L 355.086836 116.117259 \n",
       "L 356.916678 116.433269 \n",
       "L 357.526625 115.920002 \n",
       "L 358.136572 116.025313 \n",
       "L 358.746519 116.283973 \n",
       "L 359.356466 116.234621 \n",
       "L 359.966414 116.032316 \n",
       "L 360.576361 115.983693 \n",
       "L 362.406202 116.294688 \n",
       "L 363.016149 116.245921 \n",
       "L 364.236044 116.45092 \n",
       "L 365.455938 116.35354 \n",
       "L 366.675832 116.556452 \n",
       "L 367.28578 116.507839 \n",
       "L 367.895727 116.608577 \n",
       "L 368.505674 116.560064 \n",
       "L 369.115621 116.808838 \n",
       "L 369.725568 116.760115 \n",
       "L 369.725568 116.760115 \n",
       "\" clip-path=\"url(#pc9e0f17c9a)\" style=\"fill: none; stroke: #8c564b; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_20\">\n",
       "    <path d=\"M 50.14375 116.908369 \n",
       "L 384.94375 116.908369 \n",
       "\" clip-path=\"url(#pc9e0f17c9a)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #000000; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_3\">\n",
       "    <path d=\"M 50.14375 251.82 \n",
       "L 50.14375 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_4\">\n",
       "    <path d=\"M 384.94375 251.82 \n",
       "L 384.94375 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_5\">\n",
       "    <path d=\"M 50.14375 251.82 \n",
       "L 384.94375 251.82 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_6\">\n",
       "    <path d=\"M 50.14375 7.2 \n",
       "L 384.94375 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"legend_1\">\n",
       "    <g id=\"patch_7\">\n",
       "     <path d=\"M 302.089063 103.26875 \n",
       "L 377.94375 103.26875 \n",
       "Q 379.94375 103.26875 379.94375 101.26875 \n",
       "L 379.94375 14.2 \n",
       "Q 379.94375 12.2 377.94375 12.2 \n",
       "L 302.089063 12.2 \n",
       "Q 300.089063 12.2 300.089063 14.2 \n",
       "L 300.089063 101.26875 \n",
       "Q 300.089063 103.26875 302.089063 103.26875 \n",
       "z\n",
       "\" style=\"fill: #ffffff; opacity: 0.8; stroke: #cccccc; stroke-linejoin: miter\"/>\n",
       "    </g>\n",
       "    <g id=\"line2d_21\">\n",
       "     <path d=\"M 304.089063 20.298437 \n",
       "L 314.089063 20.298437 \n",
       "L 324.089063 20.298437 \n",
       "\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "    </g>\n",
       "    <g id=\"text_16\">\n",
       "     <!-- P(die=1) -->\n",
       "     <g transform=\"translate(332.089063 23.798437)scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-50\" d=\"M 1259 4147 \n",
       "L 1259 2394 \n",
       "L 2053 2394 \n",
       "Q 2494 2394 2734 2622 \n",
       "Q 2975 2850 2975 3272 \n",
       "Q 2975 3691 2734 3919 \n",
       "Q 2494 4147 2053 4147 \n",
       "L 1259 4147 \n",
       "z\n",
       "M 628 4666 \n",
       "L 2053 4666 \n",
       "Q 2838 4666 3239 4311 \n",
       "Q 3641 3956 3641 3272 \n",
       "Q 3641 2581 3239 2228 \n",
       "Q 2838 1875 2053 1875 \n",
       "L 1259 1875 \n",
       "L 1259 0 \n",
       "L 628 0 \n",
       "L 628 4666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-28\" d=\"M 1984 4856 \n",
       "Q 1566 4138 1362 3434 \n",
       "Q 1159 2731 1159 2009 \n",
       "Q 1159 1288 1364 580 \n",
       "Q 1569 -128 1984 -844 \n",
       "L 1484 -844 \n",
       "Q 1016 -109 783 600 \n",
       "Q 550 1309 550 2009 \n",
       "Q 550 2706 781 3412 \n",
       "Q 1013 4119 1484 4856 \n",
       "L 1984 4856 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-3d\" d=\"M 678 2906 \n",
       "L 4684 2906 \n",
       "L 4684 2381 \n",
       "L 678 2381 \n",
       "L 678 2906 \n",
       "z\n",
       "M 678 1631 \n",
       "L 4684 1631 \n",
       "L 4684 1100 \n",
       "L 678 1100 \n",
       "L 678 1631 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-29\" d=\"M 513 4856 \n",
       "L 1013 4856 \n",
       "Q 1481 4119 1714 3412 \n",
       "Q 1947 2706 1947 2009 \n",
       "Q 1947 1309 1714 600 \n",
       "Q 1481 -109 1013 -844 \n",
       "L 513 -844 \n",
       "Q 928 -128 1133 580 \n",
       "Q 1338 1288 1338 2009 \n",
       "Q 1338 2731 1133 3434 \n",
       "Q 928 4138 513 4856 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-50\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-28\" x=\"60.302734\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-64\" x=\"99.316406\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"162.792969\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"190.576172\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-3d\" x=\"252.099609\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-31\" x=\"335.888672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-29\" x=\"399.511719\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"line2d_22\">\n",
       "     <path d=\"M 304.089063 34.976562 \n",
       "L 314.089063 34.976562 \n",
       "L 324.089063 34.976562 \n",
       "\" style=\"fill: none; stroke: #ff7f0e; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "    </g>\n",
       "    <g id=\"text_17\">\n",
       "     <!-- P(die=2) -->\n",
       "     <g transform=\"translate(332.089063 38.476562)scale(0.1 -0.1)\">\n",
       "      <use xlink:href=\"#DejaVuSans-50\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-28\" x=\"60.302734\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-64\" x=\"99.316406\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"162.792969\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"190.576172\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-3d\" x=\"252.099609\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-32\" x=\"335.888672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-29\" x=\"399.511719\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"line2d_23\">\n",
       "     <path d=\"M 304.089063 49.654687 \n",
       "L 314.089063 49.654687 \n",
       "L 324.089063 49.654687 \n",
       "\" style=\"fill: none; stroke: #2ca02c; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "    </g>\n",
       "    <g id=\"text_18\">\n",
       "     <!-- P(die=3) -->\n",
       "     <g transform=\"translate(332.089063 53.154687)scale(0.1 -0.1)\">\n",
       "      <use xlink:href=\"#DejaVuSans-50\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-28\" x=\"60.302734\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-64\" x=\"99.316406\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"162.792969\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"190.576172\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-3d\" x=\"252.099609\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-33\" x=\"335.888672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-29\" x=\"399.511719\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"line2d_24\">\n",
       "     <path d=\"M 304.089063 64.332812 \n",
       "L 314.089063 64.332812 \n",
       "L 324.089063 64.332812 \n",
       "\" style=\"fill: none; stroke: #d62728; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "    </g>\n",
       "    <g id=\"text_19\">\n",
       "     <!-- P(die=4) -->\n",
       "     <g transform=\"translate(332.089063 67.832812)scale(0.1 -0.1)\">\n",
       "      <use xlink:href=\"#DejaVuSans-50\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-28\" x=\"60.302734\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-64\" x=\"99.316406\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"162.792969\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"190.576172\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-3d\" x=\"252.099609\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-34\" x=\"335.888672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-29\" x=\"399.511719\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"line2d_25\">\n",
       "     <path d=\"M 304.089063 79.010937 \n",
       "L 314.089063 79.010937 \n",
       "L 324.089063 79.010937 \n",
       "\" style=\"fill: none; stroke: #9467bd; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "    </g>\n",
       "    <g id=\"text_20\">\n",
       "     <!-- P(die=5) -->\n",
       "     <g transform=\"translate(332.089063 82.510937)scale(0.1 -0.1)\">\n",
       "      <use xlink:href=\"#DejaVuSans-50\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-28\" x=\"60.302734\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-64\" x=\"99.316406\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"162.792969\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"190.576172\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-3d\" x=\"252.099609\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-35\" x=\"335.888672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-29\" x=\"399.511719\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"line2d_26\">\n",
       "     <path d=\"M 304.089063 93.689062 \n",
       "L 314.089063 93.689062 \n",
       "L 324.089063 93.689062 \n",
       "\" style=\"fill: none; stroke: #8c564b; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "    </g>\n",
       "    <g id=\"text_21\">\n",
       "     <!-- P(die=6) -->\n",
       "     <g transform=\"translate(332.089063 97.189062)scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-36\" d=\"M 2113 2584 \n",
       "Q 1688 2584 1439 2293 \n",
       "Q 1191 2003 1191 1497 \n",
       "Q 1191 994 1439 701 \n",
       "Q 1688 409 2113 409 \n",
       "Q 2538 409 2786 701 \n",
       "Q 3034 994 3034 1497 \n",
       "Q 3034 2003 2786 2293 \n",
       "Q 2538 2584 2113 2584 \n",
       "z\n",
       "M 3366 4563 \n",
       "L 3366 3988 \n",
       "Q 3128 4100 2886 4159 \n",
       "Q 2644 4219 2406 4219 \n",
       "Q 1781 4219 1451 3797 \n",
       "Q 1122 3375 1075 2522 \n",
       "Q 1259 2794 1537 2939 \n",
       "Q 1816 3084 2150 3084 \n",
       "Q 2853 3084 3261 2657 \n",
       "Q 3669 2231 3669 1497 \n",
       "Q 3669 778 3244 343 \n",
       "Q 2819 -91 2113 -91 \n",
       "Q 1303 -91 875 529 \n",
       "Q 447 1150 447 2328 \n",
       "Q 447 3434 972 4092 \n",
       "Q 1497 4750 2381 4750 \n",
       "Q 2619 4750 2861 4703 \n",
       "Q 3103 4656 3366 4563 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-50\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-28\" x=\"60.302734\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-64\" x=\"99.316406\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"162.792969\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-65\" x=\"190.576172\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-3d\" x=\"252.099609\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-36\" x=\"335.888672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-29\" x=\"399.511719\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "  </g>\n",
       " </g>\n",
       " <defs>\n",
       "  <clipPath id=\"pc9e0f17c9a\">\n",
       "   <rect x=\"50.14375\" y=\"7.2\" width=\"334.8\" height=\"244.62\"/>\n",
       "  </clipPath>\n",
       " </defs>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<Figure size 432x324 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "counts = tfp.distributions.Multinomial(10, fair_probs).sample(500)\n",
    "cum_counts = tf.cumsum(counts, axis=0)\n",
    "estimates = cum_counts / tf.reduce_sum(cum_counts, axis=1, keepdims=True)\n",
    "\n",
    "d2l.set_figsize((6, 4.5))\n",
    "for i in range(6):\n",
    "    d2l.plt.plot(estimates[:, i].numpy(),\n",
    "                 label=(\"P(die=\" + str(i + 1) + \")\"))\n",
    "d2l.plt.axhline(y=0.167, color='black', linestyle='dashed')\n",
    "d2l.plt.gca().set_xlabel('Groups of experiments')\n",
    "d2l.plt.gca().set_ylabel('Estimated probability')\n",
    "d2l.plt.legend();"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "origin_pos": 20
   },
   "source": [
    "Each solid curve corresponds to one of the six values of the die and gives our estimated probability that the die turns up that value as assessed after each group of experiments.\n",
    "The dashed black line gives the true underlying probability.\n",
    "As we get more data by conducting more experiments,\n",
    "the $6$ solid curves converge towards the true probability.\n",
    "\n",
    "### Axioms of Probability Theory\n",
    "\n",
    "When dealing with the rolls of a die,\n",
    "we call the set $\\mathcal{S} = \\{1, 2, 3, 4, 5, 6\\}$ the *sample space* or *outcome space*, where each element is an *outcome*.\n",
    "An *event* is a set of outcomes from a given sample space.\n",
    "For instance, \"seeing a $5$\" ($\\{5\\}$) and \"seeing an odd number\" ($\\{1, 3, 5\\}$) are both valid events of rolling a die.\n",
    "Note that if the outcome of a random experiment is in event $\\mathcal{A}$,\n",
    "then event $\\mathcal{A}$ has occurred.\n",
    "That is to say, if $3$ dots faced up after rolling a die, since $3 \\in \\{1, 3, 5\\}$,\n",
    "we can say that the event \"seeing an odd number\" has occurred.\n",
    "\n",
    "Formally, *probability* can be thought of as a function that maps a set to a real value.\n",
    "The probability of an event $\\mathcal{A}$ in the given sample space $\\mathcal{S}$,\n",
    "denoted as $P(\\mathcal{A})$, satisfies the following properties:\n",
    "\n",
    "* For any event $\\mathcal{A}$, its probability is never negative, i.e., $P(\\mathcal{A}) \\geq 0$;\n",
    "* Probability of the entire sample space is $1$, i.e., $P(\\mathcal{S}) = 1$;\n",
    "* For any countable sequence of events $\\mathcal{A}_1, \\mathcal{A}_2, \\ldots$ that are *mutually exclusive* ($\\mathcal{A}_i \\cap \\mathcal{A}_j = \\emptyset$ for all $i \\neq j$), the probability that any happens is equal to the sum of their individual probabilities, i.e., $P(\\bigcup_{i=1}^{\\infty} \\mathcal{A}_i) = \\sum_{i=1}^{\\infty} P(\\mathcal{A}_i)$.\n",
    "\n",
    "These are also the axioms of probability theory, proposed by Kolmogorov in 1933.\n",
    "Thanks to this axiom system, we can avoid any philosophical dispute on randomness;\n",
    "instead, we can reason rigorously with a mathematical language.\n",
    "For instance, by letting event $\\mathcal{A}_1$ be the entire sample space and $\\mathcal{A}_i = \\emptyset$ for all $i > 1$, we can prove that $P(\\emptyset) = 0$, i.e., the probability of an impossible event is $0$.\n",
    "\n",
    "\n",
    "### Random Variables\n",
    "\n",
    "In our random experiment of casting a die, we introduced the notion of a *random variable*. A random variable can be pretty much any quantity and is not deterministic. It could take one value among a set of possibilities in a random experiment.\n",
    "Consider a random variable $X$ whose value is in the sample space $\\mathcal{S} = \\{1, 2, 3, 4, 5, 6\\}$ of rolling a die. We can denote the event \"seeing a $5$\" as $\\{X = 5\\}$ or $X = 5$, and its probability as $P(\\{X = 5\\})$ or $P(X = 5)$.\n",
    "By $P(X = a)$, we make a distinction between the random variable $X$ and the values (e.g., $a$) that $X$ can take.\n",
    "However, such pedantry results in a cumbersome notation.\n",
    "For a compact notation,\n",
    "on one hand, we can just denote $P(X)$ as the *distribution* over the random variable $X$:\n",
    "the distribution tells us the probability that $X$ takes any value.\n",
    "On the other hand,\n",
    "we can simply write $P(a)$ to denote the probability that a random variable takes the value $a$.\n",
    "Since an event in probability theory is a set of outcomes from the sample space,\n",
    "we can specify a range of values for a random variable to take.\n",
    "For example, $P(1 \\leq X \\leq 3)$ denotes the probability of the event $\\{1 \\leq X \\leq 3\\}$,\n",
    "which means $\\{X = 1, 2, \\text{or}, 3\\}$. Equivalently, $P(1 \\leq X \\leq 3)$ represents the probability that the random variable $X$ can take a value from $\\{1, 2, 3\\}$.\n",
    "\n",
    "Note that there is a subtle difference between *discrete* random variables, like the sides of a die, and *continuous* ones, like the weight and the height of a person. There is little point in asking whether two people have exactly the same height. If we take precise enough measurements you will find that no two people on the planet have the exact same height. In fact, if we take a fine enough measurement, you will not have the same height when you wake up and when you go to sleep. So there is no purpose in asking about the probability\n",
    "that someone is 1.80139278291028719210196740527486202 meters tall. Given the world population of humans the probability is virtually 0. It makes more sense in this case to ask whether someone's height falls into a given interval, say between 1.79 and 1.81 meters. In these cases we quantify the likelihood that we see a value as a *density*. The height of exactly 1.80 meters has no probability, but nonzero density. In the interval between any two different heights we have nonzero probability.\n",
    "In the rest of this section, we consider probability in discrete space.\n",
    "For probability over continuous random variables, you may refer to :numref:`sec_random_variables`.\n",
    "\n",
    "## Dealing with Multiple Random Variables\n",
    "\n",
    "Very often, we will want to consider more than one random variable at a time.\n",
    "For instance, we may want to model the relationship between diseases and symptoms. Given a disease and a symptom, say \"flu\" and \"cough\", either may or may not occur in a patient with some probability. While we hope that the probability of both would be close to zero, we may want to estimate these probabilities and their relationships to each other so that we may apply our inferences to effect better medical care.\n",
    "\n",
    "As a more complicated example, images contain millions of pixels, thus millions of random variables. And in many cases images will come with a\n",
    "label, identifying objects in the image. We can also think of the label as a\n",
    "random variable. We can even think of all the metadata as random variables\n",
    "such as location, time, aperture, focal length, ISO, focus distance, and camera type.\n",
    "All of these are random variables that occur jointly. When we deal with multiple random variables, there are several quantities of interest.\n",
    "\n",
    "### Joint Probability\n",
    "\n",
    "The first is called the *joint probability* $P(A = a, B=b)$. Given any values $a$ and $b$, the joint probability lets us answer, what is the probability that $A=a$ and $B=b$ simultaneously?\n",
    "Note that for any values $a$ and $b$, $P(A=a, B=b) \\leq P(A=a)$.\n",
    "This has to be the case, since for $A=a$ and $B=b$ to happen, $A=a$ has to happen *and* $B=b$ also has to happen (and vice versa). Thus, $A=a$ and $B=b$ cannot be more likely than $A=a$ or $B=b$ individually.\n",
    "\n",
    "\n",
    "### Conditional Probability\n",
    "\n",
    "This brings us to an interesting ratio: $0 \\leq \\frac{P(A=a, B=b)}{P(A=a)} \\leq 1$. We call this ratio a *conditional probability*\n",
    "and denote it by $P(B=b \\mid A=a)$: it is the probability of $B=b$, provided that\n",
    "$A=a$ has occurred.\n",
    "\n",
    "### Bayes' theorem\n",
    "\n",
    "Using the definition of conditional probabilities, we can derive one of the most useful and celebrated equations in statistics: *Bayes' theorem*.\n",
    "It goes as follows.\n",
    "By construction, we have the *multiplication rule* that $P(A, B) = P(B \\mid A) P(A)$. By symmetry, this also holds for $P(A, B) = P(A \\mid B) P(B)$. Assume that $P(B) > 0$. Solving for one of the conditional variables we get\n",
    "\n",
    "$$P(A \\mid B) = \\frac{P(B \\mid A) P(A)}{P(B)}.$$\n",
    "\n",
    "Note that here we use the more compact notation where $P(A, B)$ is a *joint distribution* and $P(A \\mid B)$ is a *conditional distribution*. Such distributions can be evaluated for particular values $A = a, B=b$.\n",
    "\n",
    "### Marginalization\n",
    "\n",
    "Bayes' theorem is very useful if we want to infer one thing from the other, say cause and effect, but we only know the properties in the reverse direction, as we will see later in this section. One important operation that we need, to make this work, is *marginalization*.\n",
    "It is the operation of determining $P(B)$ from $P(A, B)$. We can see that the probability of $B$ amounts to accounting for all possible choices of $A$ and aggregating the joint probabilities over all of them:\n",
    "\n",
    "$$P(B) = \\sum_{A} P(A, B),$$\n",
    "\n",
    "which is also known as the *sum rule*. The probability or distribution as a result of marginalization is called a *marginal probability* or a *marginal distribution*.\n",
    "\n",
    "\n",
    "### Independence\n",
    "\n",
    "Another useful property to check for is *dependence* vs. *independence*.\n",
    "Two random variables $A$ and $B$ being independent\n",
    "means that the occurrence of one event of $A$\n",
    "does not reveal any information about the occurrence of an event of $B$.\n",
    "In this case $P(B \\mid A) = P(B)$. Statisticians typically express this as $A \\perp  B$. From Bayes' theorem, it follows immediately that also $P(A \\mid B) = P(A)$.\n",
    "In all the other cases we call $A$ and $B$ dependent. For instance, two successive rolls of a die are independent. In contrast, the position of a light switch and the brightness in the room are not (they are not perfectly deterministic, though, since we could always have a broken light bulb, power failure, or a broken switch).\n",
    "\n",
    "Since $P(A \\mid B) = \\frac{P(A, B)}{P(B)} = P(A)$ is equivalent to $P(A, B) = P(A)P(B)$, two random variables are independent if and only if their joint distribution is the product of their individual distributions.\n",
    "Likewise, two random variables $A$ and $B$ are *conditionally independent* given another random variable $C$\n",
    "if and only if $P(A, B \\mid C) = P(A \\mid C)P(B \\mid C)$. This is expressed as $A \\perp B \\mid C$.\n",
    "\n",
    "### Application\n",
    ":label:`subsec_probability_hiv_app`\n",
    "\n",
    "Let us put our skills to the test. Assume that a doctor administers an HIV test to a patient. This test is fairly accurate and it fails only with 1% probability if the patient is healthy but reporting him as diseased. Moreover,\n",
    "it never fails to detect HIV if the patient actually has it. We use $D_1$ to indicate the diagnosis ($1$ if positive and $0$ if negative) and $H$ to denote the HIV status ($1$ if positive and $0$ if negative).\n",
    ":numref:`conditional_prob_D1` lists such conditional probabilities.\n",
    "\n",
    ":Conditional probability of $P(D_1 \\mid H)$.\n",
    "\n",
    "| Conditional probability | $H=1$ | $H=0$ |\n",
    "|---|---|---|\n",
    "|$P(D_1 = 1 \\mid H)$|            1 |         0.01 |\n",
    "|$P(D_1 = 0 \\mid H)$|            0 |         0.99 |\n",
    ":label:`conditional_prob_D1`\n",
    "\n",
    "Note that the column sums are all 1 (but the row sums are not), since the conditional probability needs to sum up to 1, just like the probability. Let us work out the probability of the patient having HIV if the test comes back positive, i.e., $P(H = 1 \\mid D_1 = 1)$. Obviously this is going to depend on how common the disease is, since it affects the number of false alarms. Assume that the population is quite healthy, e.g., $P(H=1) = 0.0015$. To apply Bayes' theorem, we need to apply marginalization and the multiplication rule to determine\n",
    "\n",
    "$$\\begin{aligned}\n",
    "&P(D_1 = 1) \\\\\n",
    "=& P(D_1=1, H=0) + P(D_1=1, H=1)  \\\\\n",
    "=& P(D_1=1 \\mid H=0) P(H=0) + P(D_1=1 \\mid H=1) P(H=1) \\\\\n",
    "=& 0.011485.\n",
    "\\end{aligned}\n",
    "$$\n",
    "\n",
    "Thus, we get\n",
    "\n",
    "$$\\begin{aligned}\n",
    "&P(H = 1 \\mid D_1 = 1)\\\\ =& \\frac{P(D_1=1 \\mid H=1) P(H=1)}{P(D_1=1)} \\\\ =& 0.1306 \\end{aligned}.$$\n",
    "\n",
    "In other words, there is only a 13.06% chance that the patient\n",
    "actually has HIV, despite using a very accurate test.\n",
    "As we can see, probability can be counterintuitive.\n",
    "\n",
    "What should a patient do upon receiving such terrifying news? Likely, the patient\n",
    "would ask the physician to administer another test to get clarity. The second\n",
    "test has different characteristics and it is not as good as the first one, as shown in :numref:`conditional_prob_D2`.\n",
    "\n",
    "\n",
    ":Conditional probability of $P(D_2 \\mid H)$.\n",
    "\n",
    "| Conditional probability | $H=1$ | $H=0$ |\n",
    "|---|---|---|\n",
    "|$P(D_2 = 1 \\mid H)$|            0.98 |         0.03 |\n",
    "|$P(D_2 = 0 \\mid H)$|            0.02 |         0.97 |\n",
    ":label:`conditional_prob_D2`\n",
    "\n",
    "Unfortunately, the second test comes back positive, too.\n",
    "Let us work out the requisite probabilities to invoke Bayes' theorem\n",
    "by assuming the conditional independence:\n",
    "\n",
    "$$\\begin{aligned}\n",
    "&P(D_1 = 1, D_2 = 1 \\mid H = 0) \\\\\n",
    "=& P(D_1 = 1 \\mid H = 0) P(D_2 = 1 \\mid H = 0)  \\\\\n",
    "=& 0.0003,\n",
    "\\end{aligned}\n",
    "$$\n",
    "\n",
    "$$\\begin{aligned}\n",
    "&P(D_1 = 1, D_2 = 1 \\mid H = 1) \\\\\n",
    "=& P(D_1 = 1 \\mid H = 1) P(D_2 = 1 \\mid H = 1)  \\\\\n",
    "=& 0.98.\n",
    "\\end{aligned}\n",
    "$$\n",
    "\n",
    "Now we can apply marginalization and the multiplication rule:\n",
    "\n",
    "$$\\begin{aligned}\n",
    "&P(D_1 = 1, D_2 = 1) \\\\\n",
    "=& P(D_1 = 1, D_2 = 1, H = 0) + P(D_1 = 1, D_2 = 1, H = 1)  \\\\\n",
    "=& P(D_1 = 1, D_2 = 1 \\mid H = 0)P(H=0) + P(D_1 = 1, D_2 = 1 \\mid H = 1)P(H=1)\\\\\n",
    "=& 0.00176955.\n",
    "\\end{aligned}\n",
    "$$\n",
    "\n",
    "In the end, the probability of the patient having HIV given both positive tests is\n",
    "\n",
    "$$\\begin{aligned}\n",
    "&P(H = 1 \\mid D_1 = 1, D_2 = 1)\\\\\n",
    "=& \\frac{P(D_1 = 1, D_2 = 1 \\mid H=1) P(H=1)}{P(D_1 = 1, D_2 = 1)} \\\\\n",
    "=& 0.8307.\n",
    "\\end{aligned}\n",
    "$$\n",
    "\n",
    "That is, the second test allowed us to gain much higher confidence that not all is well. Despite the second test being considerably less accurate than the first one, it still significantly improved our estimate.\n",
    "\n",
    "\n",
    "\n",
    "## Expectation and Variance\n",
    "\n",
    "To summarize key characteristics of probability distributions,\n",
    "we need some measures.\n",
    "The *expectation* (or average) of the random variable $X$ is denoted as\n",
    "\n",
    "$$E[X] = \\sum_{x} x P(X = x).$$\n",
    "\n",
    "When the input of a function $f(x)$ is a random variable drawn from the distribution $P$ with different values $x$,\n",
    "the expectation of $f(x)$ is computed as\n",
    "\n",
    "$$E_{x \\sim P}[f(x)] = \\sum_x f(x) P(x).$$\n",
    "\n",
    "\n",
    "In many cases we want to measure by how much the random variable $X$ deviates from its expectation. This can be quantified by the variance\n",
    "\n",
    "$$\\mathrm{Var}[X] = E\\left[(X - E[X])^2\\right] =\n",
    "E[X^2] - E[X]^2.$$\n",
    "\n",
    "Its square root is called the *standard deviation*.\n",
    "The variance of a function of a random variable measures\n",
    "by how much the function deviates from the expectation of the function,\n",
    "as different values $x$ of the random variable are sampled from its distribution:\n",
    "\n",
    "$$\\mathrm{Var}[f(x)] = E\\left[\\left(f(x) - E[f(x)]\\right)^2\\right].$$\n",
    "\n",
    "\n",
    "## Summary\n",
    "\n",
    "* We can sample from probability distributions.\n",
    "* We can analyze multiple random variables using joint distribution, conditional distribution, Bayes' theorem, marginalization, and independence assumptions.\n",
    "* Expectation and variance offer useful measures to summarize key characteristics of probability distributions.\n",
    "\n",
    "\n",
    "## Exercises\n",
    "\n",
    "1. We conducted $m=500$ groups of experiments where each group draws $n=10$ samples. Vary $m$ and $n$. Observe and analyze the experimental results.\n",
    "1. Given two events with probability $P(\\mathcal{A})$ and $P(\\mathcal{B})$, compute upper and lower bounds on $P(\\mathcal{A} \\cup \\mathcal{B})$ and $P(\\mathcal{A} \\cap \\mathcal{B})$. (Hint: display the situation using a [Venn Diagram](https://en.wikipedia.org/wiki/Venn_diagram).)\n",
    "1. Assume that we have a sequence of random variables, say $A$, $B$, and $C$, where $B$ only depends on $A$, and $C$ only depends on $B$, can you simplify the joint probability $P(A, B, C)$? (Hint: this is a [Markov Chain](https://en.wikipedia.org/wiki/Markov_chain).)\n",
    "1. In :numref:`subsec_probability_hiv_app`, the first test is more accurate. Why not run the first test twice rather than run both the first and second tests?\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "origin_pos": 23,
    "tab": [
     "tensorflow"
    ]
   },
   "source": [
    "[Discussions](https://discuss.d2l.ai/t/198)\n"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}