New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize the ipython shell displayed plot and font size in comint buffer. #4
Comments
|
For the LaTeX conversion, see As to the plot, they are just images, you can't do anything on the Emacs side. If you're making these images with Matplolib, then look up its documentation to see how to customize things. |
Thank you. The following configuration does the trick: (use-package comint-mime
:straight (:host github :repo "astoff/comint-mime"
:files (:defaults "*.py" "*.sh"))
:hook ((shell-mode inferior-python-mode) . comint-mime-setup))
:custom
(org-format-latex-options '(plist-put org-format-latex-options :scale 1.5))
Based on the comments here, I find the following Emacs commands to do the trick: |
Currently, I'm using the
comint-mimepackage with the following configuration:With the help of this package, I can display python matplotlib plot and LaTeX formula in Emacs comint buffer, as shown in the screenshot below:
But I want to know if I can customize the ipython shell displayed plot and font size in comint buffer. Any hints will be appreciated.
Regards, HZ
The text was updated successfully, but these errors were encountered: