Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions matpltlib/10_subplots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<h1 align=\"center\", style=\"color:green\">Matplotlib Tutorial: Subplots</h1>"
"<h1 align=\"center\" style=\"color:green\">Matplotlib Tutorial: Subplots</h1>"
]
},
{
Expand Down Expand Up @@ -53,12 +53,14 @@
"expense=[2800,3000,2800,3400]\n",
"\n",
"plt.subplot(2,1,1)\n",
"# income.set_title('Income')\n",
"plt.bar(year,income)\n",
"plt.title('Income')\n",
"\n",
"plt.subplot(2,1,2)\n",
"plt.bar(year,expense,color='green')\n",
"plt.title('Expense')\n",
"\n",
"# plt.subplot(2,1,2)\n",
"# plt.bar(year,expense,color='green')"
"plt.tight_layout()\n"
]
}
],
Expand Down
6 changes: 3 additions & 3 deletions matpltlib/4_bar_chart/4_bar_chart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<h1 align=\"center\", style=\"color:green\">Matplotlib Tutorial: Bar Chart</h1>"
"<h1 align=\"center\" style=\"color:green\">Matplotlib Tutorial: Bar Chart</h1>"
]
},
{
Expand Down Expand Up @@ -155,7 +155,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Horizontal bar chart using barh function<h3>"
"<h3>Horizontal bar chart using barh function</h3>"
]
},
{
Expand Down Expand Up @@ -189,7 +189,7 @@
"\n",
"plt.yticks(xpos,company)\n",
"plt.ylabel(\"Revenue(Bln)\")\n",
"plt.title('US Technolog Stocks')\n",
"plt.title('US Technology Stocks')\n",
"plt.legend()"
]
}
Expand Down
4 changes: 2 additions & 2 deletions matpltlib/5_histogram/5_histogram.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<h1 align=\"center\", style=\"color:green\">Matplotlib Tutorial: Histogram</h1>"
"<h1 align=\"center\" style=\"color:green\">Matplotlib Tutorial: Histogram</h1>"
]
},
{
Expand Down Expand Up @@ -122,7 +122,7 @@
"<ul style=\"color:brown;font-weight: bold;\">\n",
" <li>80-100: Normal</li>\n",
" <li>100-125: Pre-diabetic</li>\n",
" <li>80-100: Diabetic</li>\n",
" <li>125-150: Diabetic</li>\n",
"</ul>"
]
},
Expand Down
2 changes: 1 addition & 1 deletion matpltlib/6_pie_chart/6_pie_chart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"collapsed": true
},
"source": [
"<h1 align=\"center\", style=\"color:green\">Matplotlib Tutorial: Pie Charts</h1>"
"<h1 align=\"center\" style=\"color:green\">Matplotlib Tutorial: Pie Charts</h1>"
]
},
{
Expand Down