如下面例子,我們用numpy隨機取出0到100的數字10個,放入x變數中。並使用hist()製作直方圖,組距設為10。 import matplotlib.pyplot as pltx = np.random.
確定! 回上一頁