I want to make subplots in matplotlib and set up different properties:
but I have an error 'AxesSubplot' object has no attribute 'setp'
fig, ax = plt.subplots()
ax.axvline(x=654.31, linewidth=4, ls = '--', color = 'Gold' )
(markers, stemlines, baseline) = ax.stem(dfs.index, dfs.RTCM)
ax.setp(stemlines, linestyle="-", color="olive", linewidth=0.5 )
I can not find the way i can solve it. I will appreciate any help.
plt.setpinstead.