'In Python, how do I comment out a specific part of the code only?
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?
I tried something like this but it didn't work:
plt.plot (X, Y, label='xyz1', #linewidth=2,\# linestyle='--', color='red', marker='v')
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
