1 min readFeb 23, 2019
Does it still work (render the graphic) when you remove those 2 lines?
Perhaps you could test whether there is some issue with matplotlib by creating a new notebook and see if you can plot a toy example, something like:
import matplotlib.pyplot as plt
%matplotlib inline
plt.plot([1, 2, 3])