Пытаюсь отобразить точки на графике, но почему то рисуются лишние синие точки, а точки из массива смещены по Х. В чем ошибка?
import numpy as np
import matplotlib.pyplot as plt
dots = np.array([[1, 8], [1, 10], [2, 11], [3, 10], [3, 14], [4, 8], [5, 5], [5, 11], [5, 18], [6, 4], [8, 4], [10, 7], [10, 9], [10, 4], [11, 7], [11, 3], [12, 5], [12, 8], [12, 10], [12, 7], [14, 6], [14, 8], [16, 16], [16, 18], [17, 21], [18, 16], [18, 18], [18, 21], [19, 2], [19, 4], [19, 8], [19, 12], [19, 16], [19, 17], [19, 20], [20, 1], [20, 3], [20, 6], [20, 15], [20, 17], [21, 3], [21, 4], [21, 12], [21, 16], [21, 18], [21, 20], [22, 3], [22, 4], [22, 5], [22, 6]])
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(dots, 'o')
ax.set_xlabel('x-points')
ax.set_ylabel('y-points')
ax.set_title('Simple XY point plot')
fig.show()