Screen Link:
https://app.dataquest.io/m/147/improving-plot-aesthetics/8/comparing-gender-gap-across-degree-categories
My Code:
#Add your code here.
for key,spine in ax.spines.items():
spine.set_visible(False)
ax.set_xlim(1968, 2011)
ax.set_ylim(0,100)
ax.set_title(major_cats[sp])
ax.tick_params(bottom="off", top="off", left="off", right="off")
What I expected to happen:
Correct plots show up and get marked as complete
What actually happened:
Correct plots showed up but warned as “Your 1st plot does not match what we expected”
This phenomenon already happened for a few times during previous missions.
Based on the given correct answer, it seems like the answer checking logic expects me to start from the very beginning by copying the pre-coded section and complete the rest, keeping the overlapped “pre-coded” part on the top of the window.
At first, with the error message, I thought I coded wrong, so I compared my coding with the correct answer line by line. However, it seems I am right, and the system simply wants me to be 100% identical with the given answer.
Please help, or kindly confirm if I should always start from the very beginning, rather than following the “#Add your code here” instruction. It is weird that I have to copy the correct answer to the window to get a proper progress marking, even if I coded correctly but in my own way.
Thanks a lot.