Plots Disappearing After File Download

I’ve been using Plotly in Jupyter Notebook, and everything shows up fine if I use

import as pio

They still show up when the notebook is duplicated or pushed to a repository. However, the plots disappear (just empty white space) if I download the file. This occurs when using scp to get the file from a VM or when downloading from the repo. How can I fix this?