Topological string and holomorphic anomaly equation