turn off grid number matplot lib code example Example: matplotlib get rid of gridlines ax.grid(False)