Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
annotate scatterplot in Research notebook

Hello,

I am trying to annotate the yellow scatterplot bubbles as the symbol names of the large drug manufacturers. I am trying to use a for loop and I keep getting a TypeError: __init__() takes at least 3 arguments (3 given)

here is my for loop for quick reference

for i in zip(c, d): plt.annotate(major_drug_manufacturers_large['symbol'], xytext=major_drug_manufacturers_large['market_cap'])

I gave 3 arguments but it needs at least 3 still??? Does anyone have any experience annotating within quantopian? I am not familiar with python 2.7 too much and didn't have much luck finding anything on the internet that worked for me