I have overwritten plt.figure = <some random text>
, and now I cannot use the plt.figure
method as normal. How do I reload the .figure
method from matplotlib.pyplot
again so I can use it?
I tried import matplotlib.pyplot as plt
but plt.figure
is still equals to the text I defined as by accident.