usage of of line type and colour
Title
Question
when i type plot(x,sin(x),'r--',linewidth=3) it is showing an error that
illegal format string "r - -";
Python-3.4.3 Embellishing-a-plot 05-06 min 20-30 sec
Answers:
The plot command is proper. May be you have put spaces in the format string "r - -" as your error message shows.
Remove spaces 'r--' and try.
Let us know.
Login to add comment