我有pyroot的問題。當我嘗試導入ROOT直方圖時,我始終得到相同的AttributeError。 >>> from ROOT import TH1F
AttributeError: type object 'TArray' has no attribute '__getitem__'
During handling of the above exception, another exce
在屏幕上繪畫的規則是什麼? 我的最終目標是將TCanvas放入課堂並從那裏畫畫,但現在我認爲也許看一個不那麼複雜的例子可能會有所幫助。下面是一些編譯和繪製到我的電腦屏幕上的代碼。 # include <TApplication.h>
# include <TCanvas.h>
# include <TH1D.h>
# include <thread>
# include <chrono>