Skip to content

Commit 58f4157

Browse files
authored
Merge pull request #30 from JuanCab/silly_typos
Fixed a few typoes
2 parents 25a8491 + 2d851b7 commit 58f4157

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

02c_layout.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@
508508
"id": "2d0c3c4c",
509509
"metadata": {},
510510
"source": [
511-
"We used the `justify_content` (Flexbox) paramter in the layout to make it so space was inserted between the two children so that the total width they occupy is 500 pixels. \n",
511+
"We used the `justify_content` (Flexbox) parameter in the layout to make it so space was inserted between the two children so that the total width they occupy is 500 pixels. \n",
512512
"\n",
513513
"Let's compare the width of the curve parameter controls to the width of the `years_range` slider."
514514
]
@@ -530,20 +530,20 @@
530530
"source": [
531531
"Nice! This looks good because this `HBox` is about as wide as our `year_range` slider. Notice that we can pass in the children as a parameter to the widget, or change the children trait after the widget has already been instantiated. \n",
532532
"\n",
533-
"**EXERCISE**: Create a `VBox` vertical container that holds the descriptive text (`intro_text`, `data_source_text`) and `curve_parameter_widgets` and `year_range` widgets. This will allow us to stack the widgets on top of each other."
533+
"**EXERCISE**: Create a `VBox` vertical container called `desc_and_ctrl_box` that holds the descriptive text (`intro_text`, `data_source_text`) and `curve_parameter_widgets` and `year_range` widgets. This will allow us to stack the widgets on top of each other."
534534
]
535535
},
536536
{
537537
"cell_type": "code",
538-
"execution_count": null,
538+
"execution_count": 1,
539539
"id": "ed9eb9fb-4693-4474-b95a-36422a98af4c",
540540
"metadata": {},
541541
"outputs": [],
542542
"source": [
543543
"#| export\n",
544544
"# %answer key/dashboard/main.py 47\n",
545545
"\n",
546-
"# Create a VBox to hold the description and control widgets\n",
546+
"# Create a VBox called `desc_and_ctrl_box` to hold the description and control widgets\n",
547547
"# add children intro_text, data_source_text, year_range, curve_parameter_widgets\n"
548548
]
549549
},

key/dashboard/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
# %% ../02c_layout.ipynb 47
7474
# %answer key/dashboard/main.py 47
7575

76-
# Create a VBox to hold the description and control widgets
76+
# Create a VBox called `desc_and_ctrl_box` to hold the description and control widgets
7777
desc_and_ctrl_box = widgets.VBox()
7878
# add children intro_text, data_source_text, year_range, curve_parameter_widgets
7979
desc_and_ctrl_box.children = (intro_text, data_source_text, year_range, curve_parameter_widgets)

0 commit comments

Comments
 (0)