Plots generated with %matplotlib widget are not being saved when converting to HTML file


I am trying to create notebook reports for archiving purposes, but it seems that the widget output is not saved.

Steps to reproduce:

102 with nxcals pro, in a notebook called Untitled:

import matplotlib.pyplot as plt
import os
import getpass
import sys

%matplotlib widget
plt.plot([0, 1, 2, 3, 4], [0, 3, 1, 2, 5])

os.system(f'{sys.executable} -m jupyter nbconvert --to html Untitled.ipynb')
os.system(f'mv Untitled.html /eos/user/s/{getpass.getuser()}/')

Thanks in advance for your precious help.