Skip to content

Commit d1044b2

Browse files
committed
Implement feedback from TA
1 parent 17f4bdb commit d1044b2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ex13/01a_plot_area_bar.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
#
7777
# - The x-axis should represent the component names.
7878
# - The y-axis should represent the area values.
79+
# - Set a reasonable title for the plot.
80+
# - Set a reasonable x-axis label.
81+
# - Set a reasonable y-axis label.
7982
# --------------------------------------------------------------------------
8083

8184
# --------------------------------------------------------------------------
@@ -94,7 +97,7 @@
9497
# STUDENT TASK 1a.3: Remap the names of the components
9598
# --------------------------------------------------------------------------
9699
# Remap the names of the components for better readability.
97-
# Remember to move the plot commands to the correct position in the code.
100+
# Remember to move the remapping code before the `plt.bar(...)` command.
98101
#
99102
# HINT: Use the `names` list to remap the names of the components.
100103
# --------------------------------------------------------------------------

ex13/01a_plot_area_bar_sol.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
#
7777
# - The x-axis should represent the component names.
7878
# - The y-axis should represent the area values.
79+
# - Set a reasonable title for the plot.
80+
# - Set a reasonable x-axis label.
81+
# - Set a reasonable y-axis label.
7982
# --------------------------------------------------------------------------
8083

8184
# Set the figure size
@@ -116,7 +119,7 @@
116119
# STUDENT TASK 1a.3: Remap the names of the components
117120
# --------------------------------------------------------------------------
118121
# Remap the names of the components for better readability.
119-
# Remember to move the plot commands to the correct position in the code.
122+
# Remember to move the remapping code before the `plt.bar(...)` command.
120123
#
121124
# HINT: Use the `names` list to remap the names of the components.
122125
# --------------------------------------------------------------------------

0 commit comments

Comments
 (0)