I just finished guided project of Star Wars Survey, and I’m eager to receive any comments for improvement.
I have a question and need your help below.
When I make a bar plot, I found there’s overlapping and I couldn’t fix it.
I try plt.tight_layout() but nothing changed.
I modified these code lines. try it at your end and let us know if this is not what you were looking for.
# find the most-viewed movie by education degree
fig = plt.figure(figsize = (10, 10)) # earlier it was (15, 12)
ax1 = fig.add_subplot(2,2,1) # earlier it was (1,2,1)
ax2 = fig.add_subplot(2,2,2) # earlier it was (1,2,2)
ax3 = ..... rest of the code is as-is no change
What exactly is this y=1 doing here? ax3.set_title("Highest-ranked movie by college ot associated degree", y=1)