diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f73806e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.ipynb_checkpoints/
\ No newline at end of file
diff --git a/rent-or-buy.ipynb b/rent-or-buy.ipynb
index 7ce7198..5b49290 100644
--- a/rent-or-buy.ipynb
+++ b/rent-or-buy.ipynb
@@ -32,13 +32,13 @@
},
{
"cell_type": "code",
- "execution_count": 6,
+ "execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
- "model_id": "6b9df1b3c69943fc8cea402cbe006b8e",
+ "model_id": "e2018b9b15c14dd490177db8a0237bf5",
"version_major": 2,
"version_minor": 0
},
@@ -52,7 +52,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
- "model_id": "153507304345499da8be3f63f000f5d3",
+ "model_id": "e8ccb4b41d8449e5923d8cd0a55e8777",
"version_major": 2,
"version_minor": 0
},
@@ -66,12 +66,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
- "model_id": "dd5977213799420d94deb10f9438051c",
+ "model_id": "2b24163421844d0fa7d6994f981885c5",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
- "FloatText(value=100000.0, description='Starting $', layout=Layout(height='80px', width='20%'), step=10000.0)"
+ "FloatText(value=100000.0, description='Starting $', step=10000.0)"
]
},
"metadata": {},
@@ -80,7 +80,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
- "model_id": "2681ce938c5141f685584839f71fda17",
+ "model_id": "441edb607479477fa6dae34b0fc12faf",
"version_major": 2,
"version_minor": 0
},
@@ -94,7 +94,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
- "model_id": "f18323dc3a77450da5a62d938f333dfa",
+ "model_id": "b969b9f7279e438aade9e2e7fc6faefa",
"version_major": 2,
"version_minor": 0
},
@@ -108,7 +108,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
- "model_id": "25f6e0346d9a44f19d2a4fce4c8ccf68",
+ "model_id": "b61c61d906fc422b9bb51e9f83dc22da",
"version_major": 2,
"version_minor": 0
},
@@ -122,7 +122,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
- "model_id": "6caca31c5fac48e3bde49508c0123d0e",
+ "model_id": "2b5076d605f3475884093df9dee88437",
"version_major": 2,
"version_minor": 0
},
@@ -916,7 +916,7 @@
{
"data": {
"text/html": [
- "
"
+ "
"
],
"text/plain": [
""
@@ -950,8 +950,7 @@
"house_appreciation = [5.5, 3.52, 5.3, 3.9]\n",
"\n",
"# income and initial condition parameters\n",
- "starting_sum = widgets.FloatText(value=100000,min = 0, step = 10000, description = \"Starting $\",\n",
- " layout = current_income.layout)\n",
+ "starting_sum = widgets.FloatText(value=100000,min = 0, step = 10000, description = \"Starting $\")\n",
"\n",
"\n",
"display(widgets.HTML(value=\"Initial savings
\"))\n",
@@ -992,10 +991,10 @@
"# first plot shows mean asset value in the two cases. \n",
"ax_value = fig.add_subplot(2, 1, 1)\n",
"ax_value.set_ylabel('Mean Asset Value ($)')\n",
- "rent_asset_mean, = ax_value.plot(time,time*0+current_income.value,'r-',linewidth=3)\n",
+ "rent_asset_mean, = ax_value.plot(time,time*0+1,'r-',linewidth=3)\n",
"\n",
"\n",
- "buy_asset_mean, = ax_value.plot(time,time*0+current_income.value,'k-',linewidth=3)\n",
+ "buy_asset_mean, = ax_value.plot(time,time*0+1,'k-',linewidth=3)\n",
"\n",
"\n",
"# second plot shows anticipated housing costs for both renting and buying\n",