python line graph matplolib, plotly
python line graph matplolib, plotly¶In [1]: import numpy as np# sample data a generatea = np.random.randint(9, 15, size=10)a Out[1]:array([13, 12, 12, 13, 14, 10, 13, 10, 13, 12])In [2]: # sample data b generateb = np.random.randint(8, 16, size=10)b Out[2]:array([ 8, 13, 9, 15, 12, 12, 14, 11, 13, 13])In [3]: # x axis data generatetime = np.arange(1,11)time ..
2023. 8. 3.