I'm running a Jupyter notebook in PyCharm. Plots from matplotlib.pyplot are too small, so how can I change the figure size? I have tried changing the figure size through pyplot, but the plot disappears when doing so (please do not mark this as a duplicate, I know how to change figure size outside of PyCharm Jupyter notebook). I have also tried %matplotlib inline, changing Run --> Edit Configurations --> Add Environment Variabes "Display True" for interactive mode.
import matplotlib.pyplot as plt
import numpy as np
lin = np.linspace(0, 100, 1000)
sin = np.sin(lin)
plt.plot(lin, sin)
plt.show()