Unable to show evaluate plots inline in colab notebook

I’m trying to print the evaluation plots (viz. confusion matrix and confidence distribution) in Google Colab notebook. I’m using the following snippet to show the plots:

%matplotlib inline
!python -m rasa_nlu.evaluate -d  nlu.md -m <path to model>

This prints out all the information and near the end of the output, it prints the following lines but doesn’t show the images inline:

<Figure size 2000x2000 with 2 Axes>
<Figure size 1000x1000 with 1 Axes>

Does anybody know how to do this? I have already tried using plt.imshow() and plt.show() on some dummy data and it works.

Rasa NLU version:

  • 0.14.3