Running
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.show()
plots the plot with no problem, but
import tensorflow_models
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.show()
doesn't plot anythig. I use colab notebook. Why is this happan?
if you don't install the requires packages, first you have to install the package for imported modules by code below
and next you must add a line for matplotlib in colab, see below