Phase diagram of a 2D Ising model within a nonextensive approach