1

I am using the matplotlib.pyplot package in a Jupyter Notebook and for each separate plot I am turning on the grid:

import matplotlib.pyplot as plt

plt.plot(x, y)
plt.grid()

Is there a way to show the grid by default, throughout the whole Notebook?

labrat
  • 11
  • 2

0 Answers0