why does plt.scatter(['1','2','3'], [1, 2, 3]) show differently in matplotlib1.4.3 and matplotlib2.1.1

Viewed 75

The following codes show different images in matplotlib 1.4.3 and matplotlib 2.1.1, and the former meets my expectation.

plt.scatter(['1','2','3'], [1, 2, 3])

in matplotlib 1.4.3, it shows enter image description here

in matplotlib 2.1.1, it shows

enter image description here

0 Answers
Related