I have a python code doing some calculation on a remote machine, named A. I connect on A via ssh from a machine named B. Is there a way to display the figure on
ssh
export MPLBACKEND="agg" this worked for me. obviously you can set it via code as well.
export MPLBACKEND="agg"