Currently, with the help of comint-mime package [1], I can display the matplotlib plot and LaTeX formula in Emacs comint buffer, as shown in the attached image. But I want to know how to adjust the image size displayed in Emacs comint buffer. Any hints will be appreciated. [1] https://github.com/astoff/comint-mime Regards, HZ