saving . . . saved regarding linewidth has been deleted. regarding linewidth has been hidden .
regarding linewidth
Title
Question
what is the maximum linewidth we can enter in python??

Python-3.4.3 Embellishing-a-plot 03-04 min 30-40 sec 07-05-20, 8:24 p.m. Minjal

Answers:

I tried increasing the linewidth to 1000, which filled the entire plot area hiding everything under it. You won't be able to analyze any plot with the max-width. 

from matplotlib import pyplot as plt
import numpy as np

xa = np.linspace(0, 5, 20)

ya = xa**2
plt.plot(xa, ya, color='lightcoral', linewidth=4, linestyle=':')

ya = 3*xa
plt.plot(xa, ya, color='#4b0082', linewidth=1000,
         linestyle=(0, (5, 2, 1, 2)), dash_capstyle='round')

plt.show()



08-05-20, 1:03 a.m. iakashchavan


Log-in to answer to this question.