Fix/2.7/plot upper bound