In How to make thicker stem lines in matplolib there is a description of how to control the width of stem lines. But how to control the size of the stem markers?
markerline, stemline, baseline, = ax.stem(x,y,linefmt='k-',markerfmt='ko',basefmt='k.')
plt.setp(stemline, linewidth = 1.25)
plt.setp(markerline, markersize = 5)
While the first two code lines are taken from the link in my question, the third code line changes the marker's size.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With