Widżety - poprawki

This commit is contained in:
skorzewski 2020-12-23 12:02:14 +01:00
parent 05719f23b1
commit c8b4cbbe50
2 changed files with 1894 additions and 4613 deletions

View File

@ -509,7 +509,7 @@
" <g id=\"matplotlib.axis_1\">\r\n", " <g id=\"matplotlib.axis_1\">\r\n",
" <g id=\"xtick_1\">\r\n", " <g id=\"xtick_1\">\r\n",
" <g id=\"line2d_1\">\r\n", " <g id=\"line2d_1\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 57.838494 239.758125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 57.838494 239.758125 \r\n",
"L 57.838494 22.318125 \r\n", "L 57.838494 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
@ -517,10 +517,10 @@
" <defs>\r\n", " <defs>\r\n",
" <path d=\"M 0 0 \r\n", " <path d=\"M 0 0 \r\n",
"L 0 3.5 \r\n", "L 0 3.5 \r\n",
"\" id=\"m141ec22a47\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n", "\" id=\"m40b3462bc2\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n", " </defs>\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"57.838494\" xlink:href=\"#m141ec22a47\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"57.838494\" xlink:href=\"#m40b3462bc2\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_1\">\r\n", " <g id=\"text_1\">\r\n",
@ -555,13 +555,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_2\">\r\n", " <g id=\"xtick_2\">\r\n",
" <g id=\"line2d_3\">\r\n", " <g id=\"line2d_3\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 118.772155 239.758125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 118.772155 239.758125 \r\n",
"L 118.772155 22.318125 \r\n", "L 118.772155 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_4\">\r\n", " <g id=\"line2d_4\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"118.772155\" xlink:href=\"#m141ec22a47\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"118.772155\" xlink:href=\"#m40b3462bc2\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_2\">\r\n", " <g id=\"text_2\">\r\n",
@ -599,13 +599,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_3\">\r\n", " <g id=\"xtick_3\">\r\n",
" <g id=\"line2d_5\">\r\n", " <g id=\"line2d_5\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 179.705816 239.758125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 179.705816 239.758125 \r\n",
"L 179.705816 22.318125 \r\n", "L 179.705816 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_6\">\r\n", " <g id=\"line2d_6\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"179.705816\" xlink:href=\"#m141ec22a47\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"179.705816\" xlink:href=\"#m40b3462bc2\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_3\">\r\n", " <g id=\"text_3\">\r\n",
@ -636,13 +636,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_4\">\r\n", " <g id=\"xtick_4\">\r\n",
" <g id=\"line2d_7\">\r\n", " <g id=\"line2d_7\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 240.639477 239.758125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 240.639477 239.758125 \r\n",
"L 240.639477 22.318125 \r\n", "L 240.639477 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_8\">\r\n", " <g id=\"line2d_8\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"240.639477\" xlink:href=\"#m141ec22a47\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"240.639477\" xlink:href=\"#m40b3462bc2\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_4\">\r\n", " <g id=\"text_4\">\r\n",
@ -686,13 +686,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_5\">\r\n", " <g id=\"xtick_5\">\r\n",
" <g id=\"line2d_9\">\r\n", " <g id=\"line2d_9\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 301.573138 239.758125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 301.573138 239.758125 \r\n",
"L 301.573138 22.318125 \r\n", "L 301.573138 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_10\">\r\n", " <g id=\"line2d_10\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"301.573138\" xlink:href=\"#m141ec22a47\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"301.573138\" xlink:href=\"#m40b3462bc2\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_5\">\r\n", " <g id=\"text_5\">\r\n",
@ -745,13 +745,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_6\">\r\n", " <g id=\"xtick_6\">\r\n",
" <g id=\"line2d_11\">\r\n", " <g id=\"line2d_11\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 362.506799 239.758125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 362.506799 239.758125 \r\n",
"L 362.506799 22.318125 \r\n", "L 362.506799 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_12\">\r\n", " <g id=\"line2d_12\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"362.506799\" xlink:href=\"#m141ec22a47\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"362.506799\" xlink:href=\"#m40b3462bc2\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_6\">\r\n", " <g id=\"text_6\">\r\n",
@ -803,7 +803,7 @@
" <g id=\"matplotlib.axis_2\">\r\n", " <g id=\"matplotlib.axis_2\">\r\n",
" <g id=\"ytick_1\">\r\n", " <g id=\"ytick_1\">\r\n",
" <g id=\"line2d_13\">\r\n", " <g id=\"line2d_13\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 42.620313 218.014125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 42.620313 218.014125 \r\n",
"L 377.420313 218.014125 \r\n", "L 377.420313 218.014125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
@ -811,10 +811,10 @@
" <defs>\r\n", " <defs>\r\n",
" <path d=\"M 0 0 \r\n", " <path d=\"M 0 0 \r\n",
"L -3.5 0 \r\n", "L -3.5 0 \r\n",
"\" id=\"m0d36ab5744\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n", "\" id=\"m97881d295d\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n", " </defs>\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m0d36ab5744\" y=\"218.014125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m97881d295d\" y=\"218.014125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_8\">\r\n", " <g id=\"text_8\">\r\n",
@ -835,13 +835,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"ytick_2\">\r\n", " <g id=\"ytick_2\">\r\n",
" <g id=\"line2d_15\">\r\n", " <g id=\"line2d_15\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 42.620313 174.526125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 42.620313 174.526125 \r\n",
"L 377.420313 174.526125 \r\n", "L 377.420313 174.526125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_16\">\r\n", " <g id=\"line2d_16\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m0d36ab5744\" y=\"174.526125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m97881d295d\" y=\"174.526125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_9\">\r\n", " <g id=\"text_9\">\r\n",
@ -854,13 +854,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"ytick_3\">\r\n", " <g id=\"ytick_3\">\r\n",
" <g id=\"line2d_17\">\r\n", " <g id=\"line2d_17\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 42.620313 131.038125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 42.620313 131.038125 \r\n",
"L 377.420313 131.038125 \r\n", "L 377.420313 131.038125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_18\">\r\n", " <g id=\"line2d_18\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m0d36ab5744\" y=\"131.038125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m97881d295d\" y=\"131.038125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_10\">\r\n", " <g id=\"text_10\">\r\n",
@ -872,13 +872,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"ytick_4\">\r\n", " <g id=\"ytick_4\">\r\n",
" <g id=\"line2d_19\">\r\n", " <g id=\"line2d_19\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 42.620313 87.550125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 42.620313 87.550125 \r\n",
"L 377.420313 87.550125 \r\n", "L 377.420313 87.550125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_20\">\r\n", " <g id=\"line2d_20\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m0d36ab5744\" y=\"87.550125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m97881d295d\" y=\"87.550125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_11\">\r\n", " <g id=\"text_11\">\r\n",
@ -890,13 +890,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"ytick_5\">\r\n", " <g id=\"ytick_5\">\r\n",
" <g id=\"line2d_21\">\r\n", " <g id=\"line2d_21\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 42.620313 44.062125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 42.620313 44.062125 \r\n",
"L 377.420313 44.062125 \r\n", "L 377.420313 44.062125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_22\">\r\n", " <g id=\"line2d_22\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m0d36ab5744\" y=\"44.062125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m97881d295d\" y=\"44.062125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_12\">\r\n", " <g id=\"text_12\">\r\n",
@ -932,7 +932,7 @@
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_23\">\r\n", " <g id=\"line2d_23\">\r\n",
" <path clip-path=\"url(#p3d88cfac07)\" d=\"M 57.838494 131.038125 \r\n", " <path clip-path=\"url(#p2e6fba7ef1)\" d=\"M 57.838494 131.038125 \r\n",
"L 67.892548 123.992133 \r\n", "L 67.892548 123.992133 \r\n",
"L 73.376578 120.423199 \r\n", "L 73.376578 120.423199 \r\n",
"L 77.946602 117.706512 \r\n", "L 77.946602 117.706512 \r\n",
@ -1237,7 +1237,7 @@
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <defs>\r\n", " <defs>\r\n",
" <clipPath id=\"p3d88cfac07\">\r\n", " <clipPath id=\"p2e6fba7ef1\">\r\n",
" <rect height=\"217.44\" width=\"334.8\" x=\"42.620313\" y=\"22.318125\"/>\r\n", " <rect height=\"217.44\" width=\"334.8\" x=\"42.620313\" y=\"22.318125\"/>\r\n",
" </clipPath>\r\n", " </clipPath>\r\n",
" </defs>\r\n", " </defs>\r\n",
@ -1300,7 +1300,7 @@
" <g id=\"matplotlib.axis_1\">\r\n", " <g id=\"matplotlib.axis_1\">\r\n",
" <g id=\"xtick_1\">\r\n", " <g id=\"xtick_1\">\r\n",
" <g id=\"line2d_1\">\r\n", " <g id=\"line2d_1\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 57.838494 239.758125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 57.838494 239.758125 \r\n",
"L 57.838494 22.318125 \r\n", "L 57.838494 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
@ -1308,10 +1308,10 @@
" <defs>\r\n", " <defs>\r\n",
" <path d=\"M 0 0 \r\n", " <path d=\"M 0 0 \r\n",
"L 0 3.5 \r\n", "L 0 3.5 \r\n",
"\" id=\"m79ffd6b719\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n", "\" id=\"mab39fb6394\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n", " </defs>\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"57.838494\" xlink:href=\"#m79ffd6b719\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"57.838494\" xlink:href=\"#mab39fb6394\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_1\">\r\n", " <g id=\"text_1\">\r\n",
@ -1346,13 +1346,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_2\">\r\n", " <g id=\"xtick_2\">\r\n",
" <g id=\"line2d_3\">\r\n", " <g id=\"line2d_3\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 118.772155 239.758125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 118.772155 239.758125 \r\n",
"L 118.772155 22.318125 \r\n", "L 118.772155 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_4\">\r\n", " <g id=\"line2d_4\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"118.772155\" xlink:href=\"#m79ffd6b719\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"118.772155\" xlink:href=\"#mab39fb6394\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_2\">\r\n", " <g id=\"text_2\">\r\n",
@ -1390,13 +1390,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_3\">\r\n", " <g id=\"xtick_3\">\r\n",
" <g id=\"line2d_5\">\r\n", " <g id=\"line2d_5\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 179.705816 239.758125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 179.705816 239.758125 \r\n",
"L 179.705816 22.318125 \r\n", "L 179.705816 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_6\">\r\n", " <g id=\"line2d_6\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"179.705816\" xlink:href=\"#m79ffd6b719\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"179.705816\" xlink:href=\"#mab39fb6394\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_3\">\r\n", " <g id=\"text_3\">\r\n",
@ -1427,13 +1427,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_4\">\r\n", " <g id=\"xtick_4\">\r\n",
" <g id=\"line2d_7\">\r\n", " <g id=\"line2d_7\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 240.639477 239.758125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 240.639477 239.758125 \r\n",
"L 240.639477 22.318125 \r\n", "L 240.639477 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_8\">\r\n", " <g id=\"line2d_8\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"240.639477\" xlink:href=\"#m79ffd6b719\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"240.639477\" xlink:href=\"#mab39fb6394\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_4\">\r\n", " <g id=\"text_4\">\r\n",
@ -1477,13 +1477,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_5\">\r\n", " <g id=\"xtick_5\">\r\n",
" <g id=\"line2d_9\">\r\n", " <g id=\"line2d_9\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 301.573138 239.758125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 301.573138 239.758125 \r\n",
"L 301.573138 22.318125 \r\n", "L 301.573138 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_10\">\r\n", " <g id=\"line2d_10\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"301.573138\" xlink:href=\"#m79ffd6b719\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"301.573138\" xlink:href=\"#mab39fb6394\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_5\">\r\n", " <g id=\"text_5\">\r\n",
@ -1536,13 +1536,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"xtick_6\">\r\n", " <g id=\"xtick_6\">\r\n",
" <g id=\"line2d_11\">\r\n", " <g id=\"line2d_11\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 362.506799 239.758125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 362.506799 239.758125 \r\n",
"L 362.506799 22.318125 \r\n", "L 362.506799 22.318125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_12\">\r\n", " <g id=\"line2d_12\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"362.506799\" xlink:href=\"#m79ffd6b719\" y=\"239.758125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"362.506799\" xlink:href=\"#mab39fb6394\" y=\"239.758125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_6\">\r\n", " <g id=\"text_6\">\r\n",
@ -1594,7 +1594,7 @@
" <g id=\"matplotlib.axis_2\">\r\n", " <g id=\"matplotlib.axis_2\">\r\n",
" <g id=\"ytick_1\">\r\n", " <g id=\"ytick_1\">\r\n",
" <g id=\"line2d_13\">\r\n", " <g id=\"line2d_13\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 42.620313 218.014125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 42.620313 218.014125 \r\n",
"L 377.420313 218.014125 \r\n", "L 377.420313 218.014125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
@ -1602,10 +1602,10 @@
" <defs>\r\n", " <defs>\r\n",
" <path d=\"M 0 0 \r\n", " <path d=\"M 0 0 \r\n",
"L -3.5 0 \r\n", "L -3.5 0 \r\n",
"\" id=\"m09e5864f75\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n", "\" id=\"mb8743ac9ae\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n", " </defs>\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m09e5864f75\" y=\"218.014125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#mb8743ac9ae\" y=\"218.014125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_8\">\r\n", " <g id=\"text_8\">\r\n",
@ -1626,13 +1626,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"ytick_2\">\r\n", " <g id=\"ytick_2\">\r\n",
" <g id=\"line2d_15\">\r\n", " <g id=\"line2d_15\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 42.620313 174.526125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 42.620313 174.526125 \r\n",
"L 377.420313 174.526125 \r\n", "L 377.420313 174.526125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_16\">\r\n", " <g id=\"line2d_16\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m09e5864f75\" y=\"174.526125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#mb8743ac9ae\" y=\"174.526125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_9\">\r\n", " <g id=\"text_9\">\r\n",
@ -1645,13 +1645,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"ytick_3\">\r\n", " <g id=\"ytick_3\">\r\n",
" <g id=\"line2d_17\">\r\n", " <g id=\"line2d_17\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 42.620313 131.038125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 42.620313 131.038125 \r\n",
"L 377.420313 131.038125 \r\n", "L 377.420313 131.038125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_18\">\r\n", " <g id=\"line2d_18\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m09e5864f75\" y=\"131.038125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#mb8743ac9ae\" y=\"131.038125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_10\">\r\n", " <g id=\"text_10\">\r\n",
@ -1663,13 +1663,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"ytick_4\">\r\n", " <g id=\"ytick_4\">\r\n",
" <g id=\"line2d_19\">\r\n", " <g id=\"line2d_19\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 42.620313 87.550125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 42.620313 87.550125 \r\n",
"L 377.420313 87.550125 \r\n", "L 377.420313 87.550125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_20\">\r\n", " <g id=\"line2d_20\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m09e5864f75\" y=\"87.550125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#mb8743ac9ae\" y=\"87.550125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_11\">\r\n", " <g id=\"text_11\">\r\n",
@ -1681,13 +1681,13 @@
" </g>\r\n", " </g>\r\n",
" <g id=\"ytick_5\">\r\n", " <g id=\"ytick_5\">\r\n",
" <g id=\"line2d_21\">\r\n", " <g id=\"line2d_21\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 42.620313 44.062125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 42.620313 44.062125 \r\n",
"L 377.420313 44.062125 \r\n", "L 377.420313 44.062125 \r\n",
"\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n", "\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_22\">\r\n", " <g id=\"line2d_22\">\r\n",
" <g>\r\n", " <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#m09e5864f75\" y=\"44.062125\"/>\r\n", " <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"42.620313\" xlink:href=\"#mb8743ac9ae\" y=\"44.062125\"/>\r\n",
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"text_12\">\r\n", " <g id=\"text_12\">\r\n",
@ -1723,7 +1723,7 @@
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <g id=\"line2d_23\">\r\n", " <g id=\"line2d_23\">\r\n",
" <path clip-path=\"url(#p53c798dfdc)\" d=\"M 57.838494 131.038125 \r\n", " <path clip-path=\"url(#pb123564158)\" d=\"M 57.838494 131.038125 \r\n",
"L 61.799182 114.504491 \r\n", "L 61.799182 114.504491 \r\n",
"L 63.93186 106.482953 \r\n", "L 63.93186 106.482953 \r\n",
"L 65.75987 100.45391 \r\n", "L 65.75987 100.45391 \r\n",
@ -2169,7 +2169,7 @@
" </g>\r\n", " </g>\r\n",
" </g>\r\n", " </g>\r\n",
" <defs>\r\n", " <defs>\r\n",
" <clipPath id=\"p53c798dfdc\">\r\n", " <clipPath id=\"pb123564158\">\r\n",
" <rect height=\"217.44\" width=\"334.8\" x=\"42.620313\" y=\"22.318125\"/>\r\n", " <rect height=\"217.44\" width=\"334.8\" x=\"42.620313\" y=\"22.318125\"/>\r\n",
" </clipPath>\r\n", " </clipPath>\r\n",
" </defs>\r\n", " </defs>\r\n",
@ -2213,19 +2213,68 @@
"W tym celu należy skorzystać z widżetów z biblioteki `ipywidgets`." "W tym celu należy skorzystać z widżetów z biblioteki `ipywidgets`."
] ]
}, },
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"source": [
"Aby używać interaktywnych widżetów w środowiskach Jupyter Notebook (klasycznym) i JupyterLab, trzeba je najpierw zainstalować."
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"#### Instalacja `ipywidgets` w klasycznym środowisku Jupyter Notebook\n",
"\n",
" conda install -c conda-forge ipywidgets"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"source": [
"#### Instalacja `ipywidgets` w środowisku JupyterLab\n",
"\n",
" conda install -c conda-forge nodejs\n",
" jupyter labextension install @jupyter-widgets/jupyterlab-manager"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Teraz możemy przystąpić do tworzenia widżetów:"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 5,
"metadata": { "metadata": {
"slideshow": { "slideshow": {
"slide_type": "subslide" "slide_type": "fragment"
} }
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"import ipywidgets\n", "import ipywidgets\n",
"\n", "\n",
"# Stworzenie widźetów\n", "# Stworzenie widżetów\n",
"slider_amplitude = ipywidgets.FloatSlider(\n", "slider_amplitude = ipywidgets.FloatSlider(\n",
" min=0.0, max=5.0, step=0.1, value=1.0, description=\"amplituda\", width=300)\n", " min=0.0, max=5.0, step=0.1, value=1.0, description=\"amplituda\", width=300)\n",
"slider_frequency = ipywidgets.FloatSlider(\n", "slider_frequency = ipywidgets.FloatSlider(\n",
@ -2259,7 +2308,7 @@
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "0e92462c5a8b4f328eba3e6c9b925b11", "model_id": "e7c538acb75c465486eae608cfa4f0a4",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },
@ -2309,7 +2358,7 @@
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "0f9f7fa35c2940c1bd0fc7a84c7b128b", "model_id": "03e5ed27e0ec4664aeb5f4454990f1c5",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },

File diff suppressed because it is too large Load Diff