(Feb-16-2019, 08:06 PM)ErnestTBass Wrote: what can I do to modify that line so that it runs as an Python script?Look at this post again.
There must be someway to modify it.
There i use
plt.show()
to show it as image(png) when run as a script outside of NoteBook.plt.plot(x,y, label='Loaded from file!') plt.xlabel('x') plt.ylabel('y') plt.title('Graph x y') plt.legend(loc='upper left', shadow=True, fontsize='large') plt.show()Inside NoteBook it's one line,if not doing any modification to Graph.
df.plot(x='x_data', y='y_data' figsize=(7 ,3)