I'm working in google colab
and using mpld3
to plot graphs. Everything was working fine till last time but now colab
is not showing graphs when I use mpld3
. I get a graph when I simply use pyplot
and don't use mpld3
. Any idea what might be the issue?
When I do
%matplotlib inline
import mpld3
import matplotlib.pyplot as plt
mpld3.enable_notebook()
plt.plot(range(10))
plt.show()
I've also tried mpld3.display()
instead of plt.show()
, but that also doesn't seem to work.
I don't get any output. Output cell is empty.