{"id":30789,"date":"2024-10-28T06:03:52","date_gmt":"2024-10-28T06:03:52","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=30789"},"modified":"2024-11-26T06:47:26","modified_gmt":"2024-11-26T06:47:26","slug":"%ed%8c%8c%ec%9d%b4%ec%8d%ac-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4-%ea%b0%9c%eb%b0%9c-matplotlib-bar-%ec%b0%a8%ed%8a%b8-%ea%b7%b8%eb%a6%ac%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/30789\/","title":{"rendered":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\n        Python\uc740 \ub370\uc774\ud130 \uacfc\ud559 \ubc0f \uc790\ub3d9\ud654\uc758 \uc138\uacc4\uc5d0\uc11c \uac15\ub825\ud55c \ub3c4\uad6c \uc911 \ud558\ub098\ub85c \uc790\ub9ac\ub9e4\uae40\ud558\uc600\uc2b5\ub2c8\ub2e4.<br \/>\n        \uae08\uc735 \uc2dc\uc7a5\uc5d0\uc11c\uc758 \uc790\ub3d9 \ub9e4\ub9e4 \uc2dc\uc2a4\ud15c \uad6c\ucd95\uc740 \ub9ce\uc740 \ud2b8\ub808\uc774\ub354\ub4e4\uc5d0\uac8c \ub9e4\ub825\uc801\uc778 \uacfc\uc81c\uac00 \ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uc790\ub3d9 \ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uc2dc\uac01\ud654\ud558\ub294 \ub370 \uc911\uc694\ud55c \uc694\uc18c\uc778 Matplotlib\uc758 Bar \ucc28\ud2b8 \uadf8\ub9ac\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574<br \/>\n        \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>1. Matplotlib\ub780?<\/h2>\n<p>\n        Matplotlib\ub294 Python\uc758 \ub370\uc774\ud130 \uc2dc\uac01\ud654 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \ub2e4\uc591\ud55c \uc885\ub958\uc758 \ucc28\ud2b8\ub97c \uadf8\ub9b4 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<br \/>\n        \ud2b9\ud788 Bar \ucc28\ud2b8\ub294 \ub370\uc774\ud130\uc758 \ube44\uad50\ub97c \uc2dc\uac01\uc801\uc73c\ub85c \ub3d5\ub294 \ub370 \uc720\uc6a9\ud558\uba70,<br \/>\n        \uae08\uc735 \ub370\uc774\ud130\ub97c \ubd84\uc11d\ud558\ub294 \ub370 \uc788\uc5b4 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4.\n    <\/p>\n<h3>1.1 Matplotlib \uc124\uce58\ud558\uae30<\/h3>\n<p>\n        Matplotlib\ub294 pip\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud788 \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc544\ub798\uc758 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uc5ec Matplotlib\ub97c \uc124\uce58\ud574 \ubcf4\uc138\uc694.\n    <\/p>\n<pre><code>pip install matplotlib<\/code><\/pre>\n<h2>2. Bar \ucc28\ud2b8\uc758 \uac1c\uc694<\/h2>\n<p>\n        Bar \ucc28\ud2b8\ub294 \uac01 \uce74\ud14c\uace0\ub9ac\uc758 \uac12\uc744 \uc0ac\uac01\ud615\uc758 \ub192\uc774\ub85c \ub098\ud0c0\ub0b8 \uadf8\ub798\ud504\uc785\ub2c8\ub2e4.<br \/>\n        \uc774\ub294 \ub2e8\uc21c\ud558\uba74\uc11c\ub3c4 \uac15\ub825\ud558\uac8c \ub370\uc774\ud130\ub97c \ube44\uad50\ud560 \uc218 \uc788\ub294 \uc7a5\uc810\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc608\ub97c \ub4e4\uc5b4, \ud2b9\uc815 \uc8fc\uc2dd\uc758 \uc6d4\ubcc4 \uc218\uc775\ub960\uc744 Bar \ucc28\ud2b8\ub85c \ub098\ud0c0\ub0b4\uba74 \uac01 \uc6d4\uc758 \uc131\uacfc\ub97c \ud55c\ub208\uc5d0 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>3. Bar \ucc28\ud2b8\ub97c \uc774\uc6a9\ud55c \uc790\ub3d9\ub9e4\ub9e4 \ub370\uc774\ud130 \uc2dc\uac01\ud654 \uc2e4\uc2b5<\/h2>\n<p>\n        \uc774\uc81c \uc2e4\uc81c \uc608\uc81c\ub97c \ud1b5\ud574 Bar \ucc28\ud2b8\ub97c \uadf8\ub824\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc6b0\ub9ac\ub294 \uac00\uc0c1\uc758 \uc8fc\uc2dd \ub370\uc774\ud130\ub97c \uc774\uc6a9\ud558\uc5ec \ub9e4\ub9e4 \uc131\uacfc\ub97c \uc2dc\uac01\ud654\ud560 \uac83\uc785\ub2c8\ub2e4.<br \/>\n        \uba3c\uc800 \ud544\uc694\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc784\ud3ec\ud2b8\ud558\uace0 \ub370\uc774\ud130\ub97c \uc0dd\uc131\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h3>3.1 \ub370\uc774\ud130 \uc0dd\uc131\ud558\uae30<\/h3>\n<pre><code>\nimport matplotlib.pyplot as plt\nimport numpy as np\n\n# \uac00\uc0c1\uc758 \ub370\uc774\ud130 \uc0dd\uc131\ncategories = ['1\uc6d4', '2\uc6d4', '3\uc6d4', '4\uc6d4', '5\uc6d4']\nprofits = [100, 200, -150, 300, 250]\n\n# Bar \ucc28\ud2b8 \uadf8\ub9ac\uae30\ndef plot_bar_chart(categories, profits):\n    plt.bar(categories, profits, color='blue')\n    plt.title('\uc6d4\ubcc4 \uc218\uc775\ub960')\n    plt.xlabel('\uc6d4')\n    plt.ylabel('\uc218\uc775\ub960')\n    plt.grid(axis='y')\n    plt.axhline(0, color='black', lw=1)\n    plt.show()\n\n# \ucc28\ud2b8 \uadf8\ub9ac\uae30 \ud568\uc218 \ud638\ucd9c\nplot_bar_chart(categories, profits)\n<\/code><\/pre>\n<h3>3.2 \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\n        \uc704 \ucf54\ub4dc\ub294 \uac04\ub2e8\ud55c Bar \ucc28\ud2b8\ub97c \uc0dd\uc131\ud558\ub294 \ud504\ub85c\uc138\uc2a4\ub97c \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<br \/>\n        \uc5ec\uae30\uc5d0\uc11c `plot_bar_chart` \ud568\uc218\ub294 \uc785\ub825\ub41c \uce74\ud14c\uace0\ub9ac\uc640 \uc218\uc775\ub960 \ub370\uc774\ud130\ub97c \uae30\ubc18\uc73c\ub85c Bar \ucc28\ud2b8\ub97c \uadf8\ub9ac\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4.\n    <\/p>\n<ul>\n<li><strong>Bar \ucc28\ud2b8 \uc0dd\uc131:<\/strong> `plt.bar()` \ud568\uc218\ub85c \ucc28\ud2b8\ub97c \uc0dd\uc131\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc81c\ubaa9 \ubc0f \ub77c\ubca8 \uc124\uc815:<\/strong> `plt.title()`, `plt.xlabel()`, `plt.ylabel()` \ub85c \ucc28\ud2b8 \uc81c\ubaa9\uacfc \ucd95 \ub77c\ubca8\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uadf8\ub9ac\ub4dc \ucd94\uac00:<\/strong> `plt.grid(axis=&#8217;y&#8217;)`\ub97c \uc0ac\uc6a9\ud558\uc5ec Y\ucd95\uc5d0\ub9cc \uadf8\ub9ac\ub4dc \ub77c\uc778\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uae30\uc900\uc120 \ucd94\uac00:<\/strong> `plt.axhline(0, color=&#8217;black&#8217;, lw=1)`\ub97c \ud1b5\ud574 Y\ucd95\uc758 0\uc5d0 \uae30\uc900\uc120\uc774 \ucd94\uac00\ub429\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>4. \uc2e4\uc81c \ub370\uc774\ud130 \uc0ac\uc6a9\ud558\uae30<\/h2>\n<p>\n        \uc6b0\ub9ac \uc2e4\uc2b5\uc5d0\uc11c \uac00\uc0c1\uc758 \ub370\uc774\ud130\ub97c \uc0ac\uc6a9\ud588\uc9c0\ub9cc, \uc2e4\uc81c \uae08\uc735 \ub370\uc774\ud130\ub85c \ub354 \uc720\uc758\ubbf8\ud55c \ucc28\ud2b8\ub97c \uadf8\ub824\ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        Yahoo Finance API\ub098 Alpha Vantage API\uc640 \uac19\uc740 \uae08\uc735 \ub370\uc774\ud130\ub97c \uc81c\uacf5\ud558\ub294 API\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc774 \uc608\uc81c\uc5d0\uc11c\ub294 pandas\uc640 yfinance \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2e4\uc81c \uc8fc\uc2dd \ub370\uc774\ud130\ub97c \uac00\uc838\uc640 Bar \ucc28\ud2b8\ub97c \uadf8\ub824\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h3>4.1 yfinance\ub85c \ub370\uc774\ud130 \uac00\uc838\uc624\uae30<\/h3>\n<pre><code>\nimport yfinance as yf\nimport pandas as pd\n\n# \uc885\ubaa9 \ub370\uc774\ud130 \ub2e4\uc6b4\ub85c\ub4dc\nticker = 'AAPL'\ndata = yf.download(ticker, period='1y', interval='1mo')\ndata['Monthly Change'] = data['Close'].diff()\ndata = data[data['Monthly Change'].notnull()]\n\n# \ub370\uc774\ud130 \ucc98\ub9ac\nmonths = data.index.strftime('%Y-%m').tolist()\nprofits = data['Monthly Change'].tolist()\n\n# \uc2e4\uc81c \ub370\uc774\ud130\ub85c \ubc14 \ucc28\ud2b8 \uadf8\ub9ac\uae30\nplot_bar_chart(months, profits)\n<\/code><\/pre>\n<h3>4.2 \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\n        \uc704 \ucf54\ub4dc\ub294 yfinance \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ud1b5\ud574 Apple Inc.(AAPL)\uc758 \uc9c0\ub09c 1\ub144\uac04\uc758 \uc6d4\ubcc4 \uc8fc\uac00 \ub370\uc774\ud130\ub97c \ub2e4\uc6b4\ub85c\ub4dc\ud558\uace0, \uc218\uc775\ub960\uc744 \uacc4\uc0b0\ud558\uc5ec Bar \ucc28\ud2b8\ub97c \uadf8\ub9ac\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.\n    <\/p>\n<ul>\n<li><strong>\ub370\uc774\ud130 \ub2e4\uc6b4\ub85c\ub4dc:<\/strong> `yf.download()`\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud2b9\uc815 \uc885\ubaa9\uc758 \ub370\uc774\ud130\ub97c \ub2e4\uc6b4\ub85c\ub4dc\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc218\uc775\ub960 \uacc4\uc0b0:<\/strong> `data[&#8216;Close&#8217;].diff()`\ub97c \ud638\ucd9c\ud558\uc5ec \uc6d4\uac04 \uc218\uc775\ub960\uc744 \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Bar \ucc28\ud2b8 \uadf8\ub9ac\uae30:<\/strong> \ub9c8\uc9c0\ub9c9\uc5d0 `plot_bar_chart()` \ud568\uc218\ub97c \ud1b5\ud574 Bar \ucc28\ud2b8\ub97c \uadf8\ub9bd\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. Bar \ucc28\ud2b8 \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5<\/h2>\n<p>\n        Matplotlib\ub294 \ucc28\ud2b8\ub97c \ub354 \uc544\ub984\ub2f5\uace0 \uc720\uc6a9\ud558\uac8c \ub9cc\ub4e4\uae30 \uc704\ud574 \ub2e4\uc591\ud55c \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5 \uc635\uc158\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<br \/>\n        \uc544\ub798\ub294 Bar \ucc28\ud2b8\ub97c \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5\ud558\ub294 \uba87 \uac00\uc9c0 \ubc29\ubc95\uc785\ub2c8\ub2e4.\n    <\/p>\n<h3>5.1 \uc0c9\uc0c1 \ubcc0\uacbd \ubc0f \uc2a4\ud0c0\uc77c \uc801\uc6a9<\/h3>\n<pre><code>\ndef plot_custom_bar_chart(categories, profits):\n    plt.bar(categories, profits, color='skyblue', edgecolor='darkblue')\n    plt.title('\uc6d4\ubcc4 \uc218\uc775\ub960', fontsize=16)\n    plt.xlabel('\uac1c\uc6d4', fontsize=12)\n    plt.ylabel('\uc218\uc775\ub960(\uc6d0)', fontsize=12)\n    plt.xticks(rotation=45)\n    plt.grid(axis='y', linestyle='--')\n    plt.axhline(0, color='red', lw=1)\n    plt.tight_layout()\n    plt.show()\n\nplot_custom_bar_chart(months, profits)\n<\/code><\/pre>\n<h3>5.2 \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\n        `plot_custom_bar_chart` \ud568\uc218\ub294 \ubc14 \ucc28\ud2b8\uc758 \uc0c9\uc0c1, \uae00\uaf34 \ud06c\uae30, \ucd95 \ub808\uc774\ube14 \ud68c\uc804 \ub4f1\uc744 \uc870\uc815\ud558\uc5ec \ucc28\ud2b8\ub97c \ub354 \ubcf4\uae30 \uc88b\uac8c \ub9cc\ub4ed\ub2c8\ub2e4.\n    <\/p>\n<ul>\n<li><strong>\uc0c9\uc0c1 \ubc0f \ud14c\ub450\ub9ac:<\/strong> `color`\uc640 `edgecolor`\ub97c \uc0ac\uc6a9\ud574 \ubc14\uc758 \uc0c9\uc0c1\uacfc \ud14c\ub450\ub9ac \uc0c9\uc0c1\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ud0c0\uc774\ud2c0 \ubc0f \ub808\uc774\ube14 \ud3f0\ud2b8 \ud06c\uae30:<\/strong> `fontsize`\ub97c \uc0ac\uc6a9\ud574 \ucc28\ud2b8\uc758 \uc81c\ubaa9\uacfc \ub808\uc774\ube14\uc758 \ud3f0\ud2b8 \ud06c\uae30\ub97c \uc870\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ucd95 \ub808\uc774\ube14 \ud68c\uc804:<\/strong> `plt.xticks(rotation=45)`\ub85c X\ucd95 \ub808\uc774\ube14\uc744 45\ub3c4\ub85c \ud68c\uc804\uc2dc\ucf1c \uac00\ub3c5\uc131\uc744 \ub192\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc120 \uc2a4\ud0c0\uc77c \ubcc0\uacbd:<\/strong> `plt.grid(axis=&#8217;y&#8217;, linestyle=&#8217;&#8211;&#8216;)`\ub85c \uadf8\ub9ac\ub4dc \uc120\uc758 \uc2a4\ud0c0\uc77c\uc744 \ubcc0\uacbd\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\n        Matplotlib\ub97c \uc0ac\uc6a9\ud558\uc5ec Bar \ucc28\ud2b8\ub97c \uadf8\ub9ac\ub294 \uac83\uc740 \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ud6a8\uacfc\uc801\uc778 \ub370\uc774\ud130 \uc2dc\uac01\ud654\ub97c \uc774\ub8e8\ub294 \ub370 \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4.<br \/>\n        \uc774\ubc88 \uac15\uc88c\ub97c \ud1b5\ud574 \uae30\ubcf8\uc801\uc778 Bar \ucc28\ud2b8 \uc0dd\uc131 \ubfd0\ub9cc \uc544\ub2c8\ub77c \uc2e4\uc81c \ub370\uc774\ud130\ub85c \ud604\uc2e4\uc801\uc778 \ucc28\ud2b8\ub97c \uadf8\ub9ac\uace0,<br \/>\n        \ub2e4\uc591\ud55c \uc2a4\ud0c0\uc77c \uc635\uc158\uc744 \ud1b5\ud574 \uc0ac\uc6a9\uc790 \ub9de\ucda4\ud615 \uc2dc\uac01\ud654\ub97c \uc218\ud589\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc774\ub7ec\ud55c Skills\ub294 \ud2b8\ub808\uc774\ub529 \uc804\ub7b5\uc744 \uc2dc\uac01\uc801\uc73c\ub85c \ubd84\uc11d\ud558\uace0 \uac1c\uc120\ud558\ub294 \ub370 \ud070 \ub3c4\uc6c0\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4.\n    <\/p>\n<h3>6.1 \ucd94\uac00 \ud559\uc2b5 \uc790\ub8cc<\/h3>\n<ul>\n<li><a href=\"https:\/\/matplotlib.org\/stable\/tutorials\/index.html\">Matplotlib \uacf5\uc2dd \ud29c\ud1a0\ub9ac\uc5bc<\/a><\/li>\n<li><a href=\"https:\/\/pandas.pydata.org\/docs\/user_guide\/index.html\">Pandas \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/pypi.org\/project\/yfinance\/\">yfinance \ub77c\uc774\ube0c\ub7ec\ub9ac<\/a><\/li>\n<\/ul>\n<h2>\ucc38\uace0 \ubb38\ud5cc<\/h2>\n<p>\n        &#8211; Python for Data Analysis, Wes McKinney<br \/>\n        &#8211; Python Data Science Handbook, Jake VanderPlas\n    <\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\uc740 \ub370\uc774\ud130 \uacfc\ud559 \ubc0f \uc790\ub3d9\ud654\uc758 \uc138\uacc4\uc5d0\uc11c \uac15\ub825\ud55c \ub3c4\uad6c \uc911 \ud558\ub098\ub85c \uc790\ub9ac\ub9e4\uae40\ud558\uc600\uc2b5\ub2c8\ub2e4. \uae08\uc735 \uc2dc\uc7a5\uc5d0\uc11c\uc758 \uc790\ub3d9 \ub9e4\ub9e4 \uc2dc\uc2a4\ud15c \uad6c\ucd95\uc740 \ub9ce\uc740 \ud2b8\ub808\uc774\ub354\ub4e4\uc5d0\uac8c \ub9e4\ub825\uc801\uc778 \uacfc\uc81c\uac00 \ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uc790\ub3d9 \ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uc2dc\uac01\ud654\ud558\ub294 \ub370 \uc911\uc694\ud55c \uc694\uc18c\uc778 Matplotlib\uc758 Bar \ucc28\ud2b8 \uadf8\ub9ac\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Matplotlib\ub780? Matplotlib\ub294 Python\uc758 \ub370\uc774\ud130 \uc2dc\uac01\ud654 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \ub2e4\uc591\ud55c \uc885\ub958\uc758 \ucc28\ud2b8\ub97c \uadf8\ub9b4 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/30789\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[37],"tags":[],"class_list":["post-30789","post","type-post","status-publish","format-standard","hentry","category-37"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/30789\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Python\uc740 \ub370\uc774\ud130 \uacfc\ud559 \ubc0f \uc790\ub3d9\ud654\uc758 \uc138\uacc4\uc5d0\uc11c \uac15\ub825\ud55c \ub3c4\uad6c \uc911 \ud558\ub098\ub85c \uc790\ub9ac\ub9e4\uae40\ud558\uc600\uc2b5\ub2c8\ub2e4. \uae08\uc735 \uc2dc\uc7a5\uc5d0\uc11c\uc758 \uc790\ub3d9 \ub9e4\ub9e4 \uc2dc\uc2a4\ud15c \uad6c\ucd95\uc740 \ub9ce\uc740 \ud2b8\ub808\uc774\ub354\ub4e4\uc5d0\uac8c \ub9e4\ub825\uc801\uc778 \uacfc\uc81c\uac00 \ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uc790\ub3d9 \ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uc2dc\uac01\ud654\ud558\ub294 \ub370 \uc911\uc694\ud55c \uc694\uc18c\uc778 Matplotlib\uc758 Bar \ucc28\ud2b8 \uadf8\ub9ac\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Matplotlib\ub780? Matplotlib\ub294 Python\uc758 \ub370\uc774\ud130 \uc2dc\uac01\ud654 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \ub2e4\uc591\ud55c \uc885\ub958\uc758 \ucc28\ud2b8\ub97c \uadf8\ub9b4 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 &hellip; \ub354 \ubcf4\uae30 &quot;\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/30789\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T06:03:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:47:26+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/30789\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30789\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30\",\"datePublished\":\"2024-10-28T06:03:52+00:00\",\"dateModified\":\"2024-11-26T06:47:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30789\/\"},\"wordCount\":110,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud30c\uc774\uc36c\uc790\ub3d9\ub9e4\ub9e4\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/30789\/\",\"url\":\"https:\/\/atmokpo.com\/w\/30789\/\",\"name\":\"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-28T06:03:52+00:00\",\"dateModified\":\"2024-11-26T06:47:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30789\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/30789\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/30789\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","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:\/\/atmokpo.com\/w\/30789\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Python\uc740 \ub370\uc774\ud130 \uacfc\ud559 \ubc0f \uc790\ub3d9\ud654\uc758 \uc138\uacc4\uc5d0\uc11c \uac15\ub825\ud55c \ub3c4\uad6c \uc911 \ud558\ub098\ub85c \uc790\ub9ac\ub9e4\uae40\ud558\uc600\uc2b5\ub2c8\ub2e4. \uae08\uc735 \uc2dc\uc7a5\uc5d0\uc11c\uc758 \uc790\ub3d9 \ub9e4\ub9e4 \uc2dc\uc2a4\ud15c \uad6c\ucd95\uc740 \ub9ce\uc740 \ud2b8\ub808\uc774\ub354\ub4e4\uc5d0\uac8c \ub9e4\ub825\uc801\uc778 \uacfc\uc81c\uac00 \ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uc790\ub3d9 \ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uc2dc\uac01\ud654\ud558\ub294 \ub370 \uc911\uc694\ud55c \uc694\uc18c\uc778 Matplotlib\uc758 Bar \ucc28\ud2b8 \uadf8\ub9ac\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Matplotlib\ub780? Matplotlib\ub294 Python\uc758 \ub370\uc774\ud130 \uc2dc\uac01\ud654 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \ub2e4\uc591\ud55c \uc885\ub958\uc758 \ucc28\ud2b8\ub97c \uadf8\ub9b4 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 &hellip; \ub354 \ubcf4\uae30 \"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/30789\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-28T06:03:52+00:00","article_modified_time":"2024-11-26T06:47:26+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/30789\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/30789\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30","datePublished":"2024-10-28T06:03:52+00:00","dateModified":"2024-11-26T06:47:26+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/30789\/"},"wordCount":110,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud30c\uc774\uc36c\uc790\ub3d9\ub9e4\ub9e4"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/30789\/","url":"https:\/\/atmokpo.com\/w\/30789\/","name":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-28T06:03:52+00:00","dateModified":"2024-11-26T06:47:26+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/30789\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/30789\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/30789\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, matplotlib bar \ucc28\ud2b8 \uadf8\ub9ac\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=30789"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30789\/revisions"}],"predecessor-version":[{"id":30790,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30789\/revisions\/30790"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=30789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=30789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=30789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}