Python Matplotlib

Matplotlib Markers

Using markers in plots

Matplotlib Markers

You can use the marker parameter to emphasize each point with a specified marker.

Markers

import matplotlib.pyplot as plt

x = [1, 2, 3, 4, 5]
y = [2, 4, 6, 8, 10]

plt.plot(x, y, marker='o')
plt.show()