0

I'm plotting some data and I'm doing scatter plot. I want my points to be in empty circles and I'm using facecolor and edgecolor. surprisingly when I define colors for face and edge the codes works, but when I put 'non' as facecolor to have unfilled circles it doesn't accept it, how can I correct it, here is my code:

x,y,dy = np.loadtxt('PKS 0528134 .txt', usecols=[0,2,3], unpack= True)
plt.scatter(10**x, 10**y, marker= 'o', facecolor= 'b', edgecolor= 'r')

plt.xlabel(r'$\nu$', fontsize= 15)
plt.ylabel(r'Log $\nu$ L($\nu$)', fontsize= 15)
plt.xlim(1e12,1e24)
plt.ylim(1e41,1e49)
plt.xscale('log')
plt.yscale('log')
plt.show()
glibdud
  • 7,550
  • 4
  • 27
  • 37
s.saremi
  • 11
  • 4

0 Answers0