1

Python noob here, so I apologize if this is an easy fix. I just need one circle next to the text in this legend. However, my code is outputting two circles for each plot. And it's not necessarily fitting in the legend box.

p1, = plt.plot(x, y, 'ro', ms=10)
p2, = plt.plot(x, y, 'ro', ms=20)
p3, = plt.plot(x, y, 'ro', ms=25)
plt.legend([p1,p2,p3], ["< 50 Homes","< 100 Homes",
                                ">100 Homes"], loc = 3)

It's almost working out, but just not there. Thanks in advance for the advice!

Laura
  • 93
  • 1
  • 1
  • 7

0 Answers0