Thanks for the update. It seems the error is raised in the livelossplot package, so you could create an issue in their repository.
Based on this issue in typing 2 it seems that newer Python versions would fix this issue (or you could also try to update typing).