-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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()
`
Stephenob6
Metadata
Metadata
Assignees
Labels
No labels