Add legend

Hi!

How to add a legend to the attached image?. It is an earthquake catalog and I am looking for something like:

Green circles - Stuff 1
Red circles - Stuff 2

I am trying the following, but without sucess.
for i in range(0,len(qctable)):
fig.plot(x=qctable.Baz[i], y=qctable.Dist[i] ,projection=“Pa15c”,
style=‘c0.2c’, pen=“1p,black”, region=[0,360,0,103],
color=qctable.QC[i])

Could someone help me?

Thanks in advance

I am using PyGMT.

fig.plot(…,label=“my legend”)

Like in this example :