Because you are using same names for functions and for local variables. Should not do this.
This line:
heatmap = heatmap()
first declares new variable heatmap
, thus shadowing function, and then tries to call heatmap()
to initialize it. But at this moment there is already no such function, because from now it is a local variable
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…