matplotlibのplotやscatterで点をプロットした時に、legendを付けると自動的に何点か決められる。
(私の環境では2点)
手動で変更したい時は、
plot ... legend(numpoints=N)
scatter ... legend(scatterpoints=N)
N : 表示したい点の数(int)
で変更できる。