Pour augmenter l'épaisseur d'une ligne avec matplotlib il y a l'option linewidth, illustration:

import matplotlib.pyplot as pltplt.plot([0,10],[0,10])plt.plot([0,10],[0+3,10+3], color='b', linewidth=20)plt.plot([0,10],[0+6,10+6], color='b', linewidth=40)plt.title("Increase line width Matplotlib")plt.grid()plt.savefig("increase_line_width_matplotlib.png", bbox_inches='tight')plt.show()
Références
| Liens | Site |
|---|---|
| Matplotlib: linewidth is added to the length of a line | stackoverflow |
| Matplotlib plot with variable line width | stackoverflow |
| Pyplot tutorial | matplotlib doc |
