The following is not a solution, but a workaround
To quick and dirty share plots via mail/chat I usually take a screenshot of the canvas/pad. Depending on your operating system/programs this image can be drag&drop or copy&paste into the mail/chat application.
This workaround also works if one runs root on a remote machine and would otherwise have to copy files from one computer to another.