Math/Cryptography/QuantumHow to draw graphs using Python (matplotlib.pyplot)RequirementsGoogle AccountStepsAccess https://colab.research.google.com/Select “File” -> “New notebook”Paste and run the following code1 2 3 4 5 6 7 import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 2*np.pi, 500) plt.plot(x, np.sin(x), label="sin curve") plt.plot(x, np.cos(x), label="cos curve") plt.legend() # Show legend plt.show() Execution ResultReferencesmatplotlib.pyplot — Matplotlib 3.5.3 documentation