From b5894e70213d2160fe29b62acad7e2ae642715ba Mon Sep 17 00:00:00 2001 From: csuyat-dot Date: Fri, 1 Nov 2024 17:45:17 +0000 Subject: [PATCH] changed heading 1 title, and adjusted chart titles so it wont conflict with filter selector --- .../sb125_fund_split_analysis.ipynb | 97 ++++++++++--------- 1 file changed, 51 insertions(+), 46 deletions(-) diff --git a/sb125_analyses/sb125_fund_split_analysis/sb125_fund_split_analysis.ipynb b/sb125_analyses/sb125_fund_split_analysis/sb125_fund_split_analysis.ipynb index d68910a72..c1e3b4bf4 100644 --- a/sb125_analyses/sb125_fund_split_analysis/sb125_fund_split_analysis.ipynb +++ b/sb125_analyses/sb125_fund_split_analysis/sb125_fund_split_analysis.ipynb @@ -26,7 +26,7 @@ { "data": { "text/html": [ - "" + "" ], "text/plain": [ "" @@ -41,7 +41,7 @@ "\n", "display(\n", " HTML(\n", - " \"\"\"\"\"\"\n", + " \"\"\"\"\"\"\n", " )\n", ")" ] @@ -51,7 +51,7 @@ "id": "804e9465-b5b3-4f92-8353-19196d78ea40", "metadata": {}, "source": [ - "# Analysis" + "# Charts & Analysis" ] }, { @@ -195,7 +195,10 @@ " # color=\"project type\",\n", " tooltip=[\"fund source\", \"fund amount\"],\n", " )\n", - " .properties(title=\"Allocation funds by funding source\", width=600, height=300)\n", + " .properties(\n", + " title=\"Allocation funds by funding source\", \n", + " width=600, \n", + " height=300)\n", ")\n", "\n", "source_text = source_chart.mark_text(align=\"left\", dx=0, dy=10).encode(\n", @@ -205,7 +208,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 22, "id": "66f10da5-a97c-40c6-bd88-64c1b67957eb", "metadata": {}, "outputs": [], @@ -241,7 +244,9 @@ "\n", "# combine bar and text charts\n", "rtpa_chart_combo_2 = (rtpa_bar_chart_2 + rtpa_chart_text_2).properties(\n", - " title=\"Implementing agency funding split\", width=300, height=150\n", + " #title=\"Implementing agency funding split\",\n", + " width=300,\n", + " height=150\n", ")\n", "\n", "# add facets by agency\n", @@ -250,7 +255,7 @@ " .facet(\n", " facet=alt.Facet(\n", " \"implementing agenc-y/-ies\",\n", - " title=\"SB 125 Funding by capital/operating cost by fiscal year, by agencies in RTPAs\",\n", + " title=\" \",\n", " ),\n", " columns=3,\n", " )\n", @@ -261,7 +266,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 20, "id": "9e03714c-a33c-4f2e-b19f-162a3c50369c", "metadata": {}, "outputs": [], @@ -324,8 +329,8 @@ " .resolve_scale(x=\"shared\", y=\"independent\")\n", " .properties(\n", " title=alt.TitleParams(\n", - " text=\"RTPA split of Operating and Capital Funds Requested by Agencies\",\n", - " subtitle=\"Separated by Fiscal Year\",\n", + " text=\" \",\n", + " subtitle=\" \",\n", " )\n", " )\n", ")" @@ -351,23 +356,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.FacetChart(...)" ] }, - "execution_count": 13, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } @@ -737,7 +742,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 21, "id": "3c20b9bf-8e69-45db-afbf-8bc71c8be888", "metadata": {}, "outputs": [ @@ -746,23 +751,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.HConcatChart(...)" ] }, - "execution_count": 14, + "execution_count": 21, "metadata": {}, "output_type": "execute_result" }