October 2018
Beginner to intermediate
676 pages
18h 30m
English
You can add one more line graph to the same plot and go on until you complete your interactive session:
plt.plot([1.5, 3.0])
plt.title("Interactive Plot")plt.xlabel("X-axis")plt.ylabel("Y-axis")
plt.plot([3.5, 2.5])
The following graph is the output obtained after executing the code:

Hence, we have now worked in interactive mode.
Read now
Unlock full access