Question: Question 5 Consider the script below is supposed to generate a plot, but creates an error condition. What is the repair def plotAlinelist1 list2.stre, stry,
Question 5 Consider the script below is supposed to generate a plot, but creates an error condition. What is the repair def plotAlinelist1 list2.stre, stry, strtitle) from matplotlib import pyplot an plt plt.plot( list1, list2, color green marker 'o', linestyle-solid) plt_title(statitle) playlabel(stry) plt label tex) plt show return xxx.yyy=0) for in ange(0.10): X.append(101) yyy append(xxx[i]**13) plotAle XX.YY."XY","Plot of Y-F(X)"> For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). BIWS Paragraph Arial . 14px A 2 DELL F2 18 FO F4 Esc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
