Matemática・Criptografia・QuânticaComo desenhar gráficos usando Python (matplotlib.pyplot)O que você precisaConta do GooglePassosAcesse https://colab.research.google.com/Selecione “Arquivo” -> “Novo notebook”Cole e execute o código abaixo1 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() # Mostrar legenda plt.show() Resultado da execuçãoReferênciasmatplotlib.pyplot — Matplotlib 3.5.3 documentation