Computer scienceData scienceInstrumentsVisualizationKinds of graphs

Matplotlib scatter plot

Give me colors!

Report a typo

Please, type the function that implements the scatter plot, where each plot has a color based on the number value, and the size of the marker is 100:

import matplotlib.pyplot as plt

item = ['oil', 'yogurt', 'sugar', 'milk']
number = [2, 4, 1, 3]
# Your Code Here
plt.show()

Your answer should be in the following format:

plt.function_name(...)
Enter a short text
___

Create a free account to access the full topic