Criteria for the density of the graph of the entropy map restricted to ergodic states