I am trying to increase marker size with increasing x and y. However, I tried following a previous solution recommendation, but I get the error " scatter() got multiple values for argument 's'"
x=dataset.x
y=dataset.y
limits=-10,10
size= [n*2 for n in range(1, len(x)+1)]
plt.scatter(x,y,'o',c='blue',s=size)
plt.set_xlabel('x',color='black')
plt.set_ylabel('y',color='black',rotation=0)
plt.set_xlim(limits)
plt.set_ylim(limits)
plt.title('XY Dataset', fontsize=10)
Any recommendations? Also trying to figure out how to go from black dots to blue (example: point starts at black and gets lighter and lighter to a shade of blue.)