como instalar pydot & graphviz no google colab?

Estou tentando traçar meu modelo no google colab.

 from keras.utils import plot_model
 plot_model(model, to_file="model.png")

e eu recebi este erro:

 ImportError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.

Eu instaleipydot-ng egraphviz e ainda não consigo solucionar esse erro.