Set markers for individual points on a line - Stack Overflow
https://stackoverflow.com/questions/8409095/set-markers-for-individual-points-on-a-line
WebMay 11, 2023 · 534. Specify the keyword args linestyle and/or marker in your call to plot. For example, using a dashed line and blue circle markers: plt.plot(range(10), linestyle='--', marker='o', color='b', label='line with marker') plt.legend() A shortcut call for the same thing: plt.plot(range(10), '--bo', label='line with marker') plt.legend()
DA: 74 PA: 40 MOZ Rank: 78