Investigating-Netflix-Movies-and-Guest-Stars-in-The-Office
Investigating-Netflix-Movies-and-Guest-Stars-in-The-Office copied to clipboard
Correction on 9.Plotting with Colors
Mentioned code segment in 9. Plotting with colors should be corrected as follows with the relevant x & y labels ` Set the figure style and initalize a new figure plt.style.use('fivethirtyeight') fig = plt.figure(figsize=(12,8))
Create a scatter plot of duration versus release_year plt.scatter(netflix_movies_col_subset["release_year"], netflix_movies_col_subset["duration"], c = colors)
Create a title and axis labels plt.title("Movie duration by year of release") plt.xlabel("Release year") plt.ylabel("Duration (min)")
Show the plot plt.show() `