plt.plot (X, Y, label='xyz1', linewidth=2, linestyle='--', color='red', marker='v')
I don’t want to delete linewidth=2, but only comment out that portion, in case I want it for future use. How do I do it?
>Solution :
Split out the arguments on separate lines so you can comment them out individually.
plt.plot (
X, Y,
label='xyz1',
# linewidth=2,
linestyle='--',
color='red',
marker='v')