Solved: Analyzing Movie Data with SQL - cannot pass programming assignment as locked cell won't complete

I am trying to complete my programming assignment C4M3_Assignment and have entered all the required code but when I run all the cells manually or via Run > Run All Cells, below one doesn’t complete.

plt.figure(figsize=(10, 6))
sns.barplot(data=directors_df, y=“director_name”, x=“movie_popularity”, palette=“coolwarm”, hue=“director_name”)
plt.title(“Top 10 Directors by Movie Popularity”)
plt.xlabel(“Movie Popularity”)
plt.ylabel(“Director”)
plt.tight_layout()
plt.show()

It is locked and I can make no changes to it. I believe this is preventing the rest of the assignment from being graded. Tried the Get the latest version approach documented here but the issue persists if I enter all the required code in the new Jupyter notebook.

How can I fix this? Thank you in advance!

Apologies. I figured this out. It turns out I missed a LIMIT statement on Exercise 5’s graded cell. Once I added the correct one, the chart was loaded as expected, and the grader successfully graded my assignment.

4 Likes