I'm not satisfied with default set of linestyles, namely the size of line segments and the gap between them. I'd also want to have something like '-..', '-...', etc line patterns. Does anybody know how to customize it?
Best witches.
x: X-axis points on the line. y: Y-axis points on the line. linestyle: Change the style of the line.
You can directly specify the dashes length/space using the dashes=(length, interval space) argument inside the plot command.
Use set_dashes
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With