Fix displaying plots in sagemath>=9.7
The temporary file location has moved under /tmp, so we need to monitor the new path. This also works around a crash in git master caused by a deprecation warning.
(cherry picked from commit 6b14d7d5)
The temporary file location has moved under /tmp, so we need to monitor the new path. This also works around a crash in git master caused by a deprecation warning.
(cherry picked from commit 6b14d7d5)