I have strange behavior matplotlib.pyplot. I have two arrays x and y. I want to scatter these points. so I use the scatter function:
ax.scatter(x, y, 'r') plt.xlabel('average revsion size') plt.ylabel('time (seconds)') plt.savefig('time.png', format='png')
this piece of code gives me an error otImplementedError: Not implemented for this type But if I replace plt.scatter with plt.plot, it will speak. What is the problem?
Also, if I use plt.show (), it opens 25 windows (25 - length x). Any ideas?
ashim
source share