how to delete grid in matplotlib code example Example: matplotlib get rid of gridlines ax.grid(False)