+ "print(dfg)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "#### Plot of closed issues by month and milestone for one project\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 32,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "exclude_from_chart = [\n",
+ "\t'Job Aid Ideas']\n",
+ "\n",
+ "for ex in exclude_from_chart:\n",
+ "\tdfg = dfg[dfg['mile'] != ex]\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "import seaborn as sns\n",
+ "import matplotlib.pyplot as plt\n",
+ "sns.set_theme()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "plt.figure(figsize=(10, 6))\n",
+ "sns.barplot(x='closed_month', y='count', hue='mile', data=dfg)\n",
+ "plt.xlabel('Closed Month')\n",
+ "plt.ylabel('ClosedAt')\n",
+ "plt.title('Stacked Line Chart: Milestone Effort by Issue Close Date')\n",
+ "plt.xticks(rotation=45)\n",
+ "plt.legend(title='Mile', loc='upper left')\n",
+ "plt.show()"