![]() Instead of lists, you’re now using NumPy arrays. You can notice a few changes from the first example. scatter ( x = price, y = sales_per_day, s = profit_margin * 10 ) plt. Import matplotlib.pyplot as plt import numpy as np price = np. In the next section, you’ll start exploring more advanced uses of plt.scatter().
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |