[英]UserWarning: color is redundantly defined by the 'color' keyword argument and the fmt string "r--" (-> color='r')
我是 Python 編程的新手,我目前正在作為地震主題的實習生,更具體地說,是由於地形場地效應引起的地面震動放大。 我的導師編寫了一個代碼來從大量擴增曲線中提取簇,但對於我的問題而言,上下文並不那么重要。 一些代碼僅用於繪制曲線,例如:plt.xlabel('Frequency (Hz)') plt ...