{"id":2867,"date":"2023-07-20T08:04:01","date_gmt":"2023-07-20T08:04:01","guid":{"rendered":"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/"},"modified":"2023-07-20T08:04:01","modified_gmt":"2023-07-20T08:04:01","slug":"matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8","status":"publish","type":"post","link":"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/","title":{"rendered":"\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 matplotlib"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u0424\u0443\u043d\u043a\u0446\u0456\u044e <a href=\"https:\/\/statorials.org\/uk\/abline-\u0432-r\/\" target=\"_blank\" rel=\"noopener\">abline<\/a> \u0443 R \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043b\u044f \u0434\u043e\u0434\u0430\u0432\u0430\u043d\u043d\u044f \u043f\u0440\u044f\u043c\u043e\u0457 \u043b\u0456\u043d\u0456\u0457 \u0434\u043e \u0448\u043b\u044f\u0445\u0443.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\u041d\u0430 \u0436\u0430\u043b\u044c, \u0446\u044f \u0444\u0443\u043d\u043a\u0446\u0456\u044f \u043d\u0435 \u0456\u0441\u043d\u0443\u0454 \u0432 Matplotlib, \u0430\u043b\u0435 \u043c\u0438 \u043c\u043e\u0436\u0435\u043c\u043e \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 \u0442\u0430\u043a\u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u044e, \u0449\u043e\u0431 \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Python:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">import<\/span> matplotlib. <span style=\"color: #3366ff;\">pyplot<\/span> <span style=\"color: #008000;\">as<\/span> plt\n<span style=\"color: #008000;\">import<\/span> numpy <span style=\"color: #008000;\">as<\/span> np\n\n<span style=\"color: #008000;\">def<\/span> <span style=\"color: #0000ff;\">abline<\/span> (slope, intercept):\n    axes = plt. <span style=\"color: #3366ff;\">gca<\/span> ()\n    x_vals = np. <span style=\"color: #3366ff;\">array<\/span> ( <span style=\"color: #3366ff;\">axes.get_xlim<\/span> ())\n    y_vals = intercept + slope * x_vals\n    plt. <span style=\"color: #3366ff;\">plot<\/span> (x_vals, y_vals, '--')\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u043f\u043e\u043a\u0430\u0437\u0443\u044e\u0442\u044c, \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0446\u0435\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u0446\u0456 \u0437 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u043c\u0438 pandas DataFrame:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">import<\/span> pandas <span style=\"color: #008000;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#createDataFrame\n<\/span>df = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">x<\/span> ': [1, 1, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 10, 11],\n                   ' <span style=\"color: #ff0000;\">y<\/span> ': [13, 14, 17, 12, 23, 24, 25, 25, 24, 28, 32, 33, 35, 40]})\n\n<span style=\"color: #008080;\">#view first five rows of DataFrame\n<\/span>df. <span style=\"color: #3366ff;\">head<\/span> ()\n\n\tx y\n0 1 13\n1 1 14\n2 2 17\n3 3 12\n4 4 23<\/strong><\/pre>\n<h3> <span style=\"color: #000000;\"><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 1: \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f Abline \u0434\u043b\u044f \u043c\u0430\u043b\u044e\u0432\u0430\u043d\u043d\u044f \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0457 \u043b\u0456\u043d\u0456\u0457<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\u041c\u0438 \u043c\u043e\u0436\u0435\u043c\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0442\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u043a\u043e\u0434, \u0449\u043e\u0431 \u043d\u0430\u043c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0443 \u043b\u0456\u043d\u0456\u044e \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0444\u0443\u043d\u043a\u0446\u0456\u0457 <strong>abline<\/strong> , \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043e\u0457 \u0440\u0430\u043d\u0456\u0448\u0435:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create scatterplot\n<\/span>plt. <span style=\"color: #3366ff;\">scatter<\/span> (df. <span style=\"color: #3366ff;\">x<\/span> , df. <span style=\"color: #3366ff;\">y<\/span> )\n\n<span style=\"color: #008080;\">#add horizontal line at y=30\n<\/span>abline( <span style=\"color: #008000;\">0,30<\/span> <span style=\"color: #008000;\">)<\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-25090 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/abline1-1.jpg\" alt=\"\" width=\"566\" height=\"379\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0454 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0430 \u043b\u0456\u043d\u0456\u044f \u043d\u0430 y=30.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 2. \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 aline, \u0449\u043e\u0431 \u043d\u0430\u043c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u043b\u0456\u043d\u0456\u044e \u0437 \u043f\u0435\u0432\u043d\u0438\u043c \u043d\u0430\u0445\u0438\u043b\u043e\u043c \u0456 \u043f\u0435\u0440\u0435\u0442\u0438\u043d\u043e\u043c<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\u041c\u0438 \u043c\u043e\u0436\u0435\u043c\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0442\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u043a\u043e\u0434, \u0449\u043e\u0431 \u043d\u0430\u043c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u043b\u0456\u043d\u0456\u044e \u0437 \u043d\u0430\u0445\u0438\u043b\u043e\u043c <strong>3<\/strong> \u0456 \u0442\u043e\u0447\u043a\u043e\u044e \u043f\u0435\u0440\u0435\u0442\u0438\u043d\u0443 y <strong>15<\/strong> :<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create scatterplot\n<\/span>plt. <span style=\"color: #3366ff;\">scatter<\/span> (df. <span style=\"color: #3366ff;\">x<\/span> , df. <span style=\"color: #3366ff;\">y<\/span> )\n\n<span style=\"color: #008080;\">#add straight line with slope=3 and intercept=15\n<\/span>abline( <span style=\"color: #008000;\">3,15<\/span> <span style=\"color: #008000;\">)<\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-25092 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/abline3-1.jpg\" alt=\"\" width=\"541\" height=\"360\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">\u0423 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0456 \u0432\u0438\u0439\u0434\u0435 \u043f\u0440\u044f\u043c\u0430 \u0437 \u043a\u0443\u0442\u043e\u043c \u043d\u0430\u0445\u0438\u043b\u0443 3 \u0456 \u043f\u0435\u0440\u0435\u0442\u0438\u043d\u043e\u043c 15.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 3. \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 abline, \u0449\u043e\u0431 \u043f\u043e\u0431\u0443\u0434\u0443\u0432\u0430\u0442\u0438 \u043b\u0456\u043d\u0456\u044e \u0440\u0435\u0433\u0440\u0435\u0441\u0456\u0457<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\u041c\u0438 \u043c\u043e\u0436\u0435\u043c\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0442\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u043a\u043e\u0434, \u0449\u043e\u0431 \u043f\u043e\u0431\u0443\u0434\u0443\u0432\u0430\u0442\u0438 \u043b\u0456\u043d\u0456\u044e \u0440\u0435\u0433\u0440\u0435\u0441\u0456\u0457 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0444\u0443\u043d\u043a\u0446\u0456\u0457 <strong>abline<\/strong> , \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043e\u0457 \u0440\u0430\u043d\u0456\u0448\u0435:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#calculate slope and intercept of regression line\n<span style=\"color: #000000;\">slope = np. <span style=\"color: #3366ff;\">polyfit<\/span> (df. <span style=\"color: #3366ff;\">x<\/span> , df. <span style=\"color: #3366ff;\">y<\/span> , 1)[ <span style=\"color: #008000;\">0<\/span> ]<\/span>\n<span style=\"color: #000000;\">intercept = np. <span style=\"color: #3366ff;\">polyfit<\/span> (df. <span style=\"color: #3366ff;\">x<\/span> , df. <span style=\"color: #3366ff;\">y<\/span> , 1)[ <span style=\"color: #008000;\">1<\/span> ]<\/span>\n\n#create scatterplot\n<\/span>plt. <span style=\"color: #3366ff;\">scatter<\/span> (df. <span style=\"color: #3366ff;\">x<\/span> , df. <span style=\"color: #3366ff;\">y<\/span> )\n\n<span style=\"color: #008080;\">#add regression line\n<\/span><span style=\"color: #000000;\">abline(slope, intercept)<\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-25091 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/abline2-1.jpg\" alt=\"\" width=\"544\" height=\"362\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0454 \u043f\u0456\u0434\u0456\u0431\u0440\u0430\u043d\u0430 \u043b\u0456\u043d\u0456\u044f \u0440\u0435\u0433\u0440\u0435\u0441\u0456\u0457, \u044f\u043a\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u0431\u0435\u0437\u043f\u043e\u0441\u0435\u0440\u0435\u0434\u043d\u044c\u043e \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0447\u043a\u0438 \u0433\u0440\u0430\u0444\u0456\u043a\u0430.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>\u041f\u0440\u0438\u043c\u0456\u0442\u043a\u0430<\/strong> . \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0432\u043d\u0443 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0456\u044e \u0444\u0443\u043d\u043a\u0446\u0456\u0457 <strong>polyfit<\/strong> \u0443 NumPy <a href=\"https:\/\/numpy.org\/doc\/stable\/reference\/generated\/numpy.polyfit.html\" target=\"_blank\" rel=\"noopener\">\u0442\u0443\u0442<\/a> .<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u0440\u0435\u0441\u0443\u0440\u0441\u0438<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\u0423 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0445 \u043f\u043e\u0441\u0456\u0431\u043d\u0438\u043a\u0430\u0445 \u043f\u043e\u044f\u0441\u043d\u044e\u0454\u0442\u044c\u0441\u044f, \u044f\u043a \u0432\u0438\u043a\u043e\u043d\u0443\u0432\u0430\u0442\u0438 \u0456\u043d\u0448\u0456 \u0442\u0438\u043f\u043e\u0432\u0456 \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f \u0432 pandas:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/uk\/\u0441\u0442\u043e\u0432\u043f\u0446\u0456-\u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0456-\u0441\u0443\u043c\u0438-\u043f\u0430\u043d\u0434\/\" target=\"_blank\" rel=\"noopener\">\u042f\u043a \u043f\u0456\u0434\u0441\u0443\u043c\u0443\u0432\u0430\u0442\u0438 \u043f\u0435\u0432\u043d\u0456 \u0441\u0442\u043e\u0432\u043f\u0446\u0456 \u0432 Pandas<\/a><br \/> <a href=\"https:\/\/statorials.org\/uk\/\u0441\u0442\u043e\u0432\u043f\u0435\u0446\u044c-\u0441\u0443\u043c\u0438-\u043f\u0430\u043d\u0434-\u0456\u0437-\u0443\u043c\u043e\u0432\u043e\u044e\/\" target=\"_blank\" rel=\"noopener\">\u042f\u043a \u043f\u0456\u0434\u0441\u0443\u043c\u0443\u0432\u0430\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0446\u0456 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0456 \u0443\u043c\u043e\u0432\u0438 \u0432 Pandas<\/a><br \/> <a href=\"https:\/\/statorials.org\/uk\/\u043f\u0430\u043d\u0434\u0438-\u0437\u0432\u043e\u0440\u043e\u0442\u043d\u0438\u0438-\u043a\u0443\u043c\u0441\u0443\u043c\/\" target=\"_blank\" rel=\"noopener\">\u042f\u043a \u043e\u0431\u0447\u0438\u0441\u043b\u0438\u0442\u0438 \u0437\u0432\u043e\u0440\u043e\u0442\u043d\u0443 \u043a\u0443\u043c\u0443\u043b\u044f\u0442\u0438\u0432\u043d\u0443 \u0441\u0443\u043c\u0443 \u0432 pandas<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0424\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 R \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043b\u044f \u0434\u043e\u0434\u0430\u0432\u0430\u043d\u043d\u044f \u043f\u0440\u044f\u043c\u043e\u0457 \u043b\u0456\u043d\u0456\u0457 \u0434\u043e \u0448\u043b\u044f\u0445\u0443. \u041d\u0430 \u0436\u0430\u043b\u044c, \u0446\u044f \u0444\u0443\u043d\u043a\u0446\u0456\u044f \u043d\u0435 \u0456\u0441\u043d\u0443\u0454 \u0432 Matplotlib, \u0430\u043b\u0435 \u043c\u0438 \u043c\u043e\u0436\u0435\u043c\u043e \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 \u0442\u0430\u043a\u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u044e, \u0449\u043e\u0431 \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Python: import matplotlib. pyplot as plt import numpy as np def abline (slope, intercept): axes = plt. gca () x_vals = np. array ( [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib \u2013 Statology<\/title>\n<meta name=\"description\" content=\"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib, \u043f\u043e\u0434\u0456\u0431\u043d\u0443 \u0434\u043e \u0442\u0456\u0454\u0457, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 R, \u0456\u0437 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043e\u043c.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/uk\/matplotlib-\u0440\u0456\u0432\u043d\u0438\u0438\/\" \/>\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib \u2013 Statology\" \/>\n<meta property=\"og:description\" content=\"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib, \u043f\u043e\u0434\u0456\u0431\u043d\u0443 \u0434\u043e \u0442\u0456\u0454\u0457, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 R, \u0456\u0437 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043e\u043c.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/uk\/matplotlib-\u0440\u0456\u0432\u043d\u0438\u0438\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-20T08:04:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/abline1-1.jpg\" \/>\n<meta name=\"author\" content=\"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u0445\u0432\u0438\u043b\u0438\u043d\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/\",\"url\":\"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/\",\"name\":\"\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib \u2013 Statology\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/uk\/#website\"},\"datePublished\":\"2023-07-20T08:04:01+00:00\",\"dateModified\":\"2023-07-20T08:04:01+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/uk\/#\/schema\/person\/2affa1a5da08a4b61ab4becd078c191a\"},\"description\":\"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib, \u043f\u043e\u0434\u0456\u0431\u043d\u0443 \u0434\u043e \u0442\u0456\u0454\u0457, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 R, \u0456\u0437 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043e\u043c.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0434\u043e\u0434\u043e\u043c\u0443\",\"item\":\"https:\/\/statorials.org\/uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 matplotlib\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/uk\/#website\",\"url\":\"https:\/\/statorials.org\/uk\/\",\"name\":\"Statorials\",\"description\":\"\u0412\u0430\u0448 \u043f\u0443\u0442\u0456\u0432\u043d\u0438\u043a \u0434\u043e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u0457 \u043a\u043e\u043c\u043f\u0435\u0442\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u0456!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"uk\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/uk\/#\/schema\/person\/2affa1a5da08a4b61ab4becd078c191a\",\"name\":\"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\/\/statorials.org\/uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/uk\/wp-content\/uploads\/2023\/11\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/uk\/wp-content\/uploads\/2023\/11\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f\"},\"description\":\"\u041f\u0440\u0438\u0432\u0456\u0442, \u044f \u0411\u0435\u043d\u0434\u0436\u0430\u043c\u0456\u043d, \u043f\u0440\u043e\u0444\u0435\u0441\u043e\u0440 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043d\u0430 \u043f\u0435\u043d\u0441\u0456\u0457, \u044f\u043a\u0438\u0439 \u0441\u0442\u0430\u0432 \u0432\u0438\u043a\u043b\u0430\u0434\u0430\u0447\u0435\u043c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438. \u041c\u0430\u044e\u0447\u0438 \u0432\u0435\u043b\u0438\u043a\u0438\u0439 \u0434\u043e\u0441\u0432\u0456\u0434 \u0456 \u0437\u043d\u0430\u043d\u043d\u044f \u0432 \u0433\u0430\u043b\u0443\u0437\u0456 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u044f \u0433\u043e\u0442\u043e\u0432\u0438\u0439 \u043f\u043e\u0434\u0456\u043b\u0438\u0442\u0438\u0441\u044f \u0441\u0432\u043e\u0457\u043c\u0438 \u0437\u043d\u0430\u043d\u043d\u044f\u043c\u0438, \u0449\u043e\u0431 \u0440\u043e\u0437\u0448\u0438\u0440\u0438\u0442\u0438 \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0456\u0432 \u0447\u0435\u0440\u0435\u0437 Statorials. \u0414\u0456\u0437\u043d\u0430\u0439\u0442\u0435\u0441\u044f \u0431\u0456\u043b\u044c\u0448\u0435\",\"sameAs\":[\"http:\/\/statorials.org\/uk\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib \u2013 Statology","description":"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib, \u043f\u043e\u0434\u0456\u0431\u043d\u0443 \u0434\u043e \u0442\u0456\u0454\u0457, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 R, \u0456\u0437 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043e\u043c.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/uk\/matplotlib-\u0440\u0456\u0432\u043d\u0438\u0438\/","og_locale":"uk_UA","og_type":"article","og_title":"\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib \u2013 Statology","og_description":"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib, \u043f\u043e\u0434\u0456\u0431\u043d\u0443 \u0434\u043e \u0442\u0456\u0454\u0457, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 R, \u0456\u0437 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043e\u043c.","og_url":"https:\/\/statorials.org\/uk\/matplotlib-\u0440\u0456\u0432\u043d\u0438\u0438\/","og_site_name":"Statorials","article_published_time":"2023-07-20T08:04:01+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/abline1-1.jpg"}],"author":"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"1 \u0445\u0432\u0438\u043b\u0438\u043d\u0430"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/","url":"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/","name":"\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib \u2013 Statology","isPartOf":{"@id":"https:\/\/statorials.org\/uk\/#website"},"datePublished":"2023-07-20T08:04:01+00:00","dateModified":"2023-07-20T08:04:01+00:00","author":{"@id":"https:\/\/statorials.org\/uk\/#\/schema\/person\/2affa1a5da08a4b61ab4becd078c191a"},"description":"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 Matplotlib, \u043f\u043e\u0434\u0456\u0431\u043d\u0443 \u0434\u043e \u0442\u0456\u0454\u0457, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 R, \u0456\u0437 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043e\u043c.","breadcrumb":{"@id":"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/uk\/matplotlib-%d1%80%d1%96%d0%b2%d0%bd%d0%b8%d0%b8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0434\u043e\u0434\u043e\u043c\u0443","item":"https:\/\/statorials.org\/uk\/"},{"@type":"ListItem","position":2,"name":"\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e abline \u0443 matplotlib"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/uk\/#website","url":"https:\/\/statorials.org\/uk\/","name":"Statorials","description":"\u0412\u0430\u0448 \u043f\u0443\u0442\u0456\u0432\u043d\u0438\u043a \u0434\u043e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u0457 \u043a\u043e\u043c\u043f\u0435\u0442\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u0456!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"uk"},{"@type":"Person","@id":"https:\/\/statorials.org\/uk\/#\/schema\/person\/2affa1a5da08a4b61ab4becd078c191a","name":"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/statorials.org\/uk\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/uk\/wp-content\/uploads\/2023\/11\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/uk\/wp-content\/uploads\/2023\/11\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f"},"description":"\u041f\u0440\u0438\u0432\u0456\u0442, \u044f \u0411\u0435\u043d\u0434\u0436\u0430\u043c\u0456\u043d, \u043f\u0440\u043e\u0444\u0435\u0441\u043e\u0440 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043d\u0430 \u043f\u0435\u043d\u0441\u0456\u0457, \u044f\u043a\u0438\u0439 \u0441\u0442\u0430\u0432 \u0432\u0438\u043a\u043b\u0430\u0434\u0430\u0447\u0435\u043c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438. \u041c\u0430\u044e\u0447\u0438 \u0432\u0435\u043b\u0438\u043a\u0438\u0439 \u0434\u043e\u0441\u0432\u0456\u0434 \u0456 \u0437\u043d\u0430\u043d\u043d\u044f \u0432 \u0433\u0430\u043b\u0443\u0437\u0456 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u044f \u0433\u043e\u0442\u043e\u0432\u0438\u0439 \u043f\u043e\u0434\u0456\u043b\u0438\u0442\u0438\u0441\u044f \u0441\u0432\u043e\u0457\u043c\u0438 \u0437\u043d\u0430\u043d\u043d\u044f\u043c\u0438, \u0449\u043e\u0431 \u0440\u043e\u0437\u0448\u0438\u0440\u0438\u0442\u0438 \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0456\u0432 \u0447\u0435\u0440\u0435\u0437 Statorials. \u0414\u0456\u0437\u043d\u0430\u0439\u0442\u0435\u0441\u044f \u0431\u0456\u043b\u044c\u0448\u0435","sameAs":["http:\/\/statorials.org\/uk"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/posts\/2867"}],"collection":[{"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/comments?post=2867"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/posts\/2867\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/media?parent=2867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/categories?post=2867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/tags?post=2867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}