python - Latex 与 IPython (IPython) 错误

标签 python matplotlib latex ipython

在尝试将 LaTeX 与 IPython 结合使用时,我使用了以下代码:

from IPython.display import display, Math, Latex
display(Math(r'F(k) = \int_{-\infty}^{\infty} f(x) e^{2\pi i k} dx'))

来自 How to write LaTeX in IPython Notebook? .

但是,我收到以下错误。

<IPython.core.display.Math at 0x269a030>

这个错误是什么意思?我什么时候能收到?我怎样才能摆脱它?

最佳答案

这不是一个错误。使用ipython Notebook运行它,您将看到 your integral displayed .

关于python - Latex 与 IPython (IPython) 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24724644/

相关文章:

python - Pandas 将 DataFrame 保存并读取为 json

python - 对齐的 LaTeX 方程 SymPy

matplotlib - Matplotlib动画在IPython Notebook中不起作用(空白图)

python - 如何在网格上进行细化绘制?

latex - 关于为 Latex 编写 sty 文件的良好入门教程?

r - 是否可以使用Rstudio在不使用Pandoc的情况下直接将.Rmd转换为LaTeX?

python - 无法启动 tensorflow 2.0

python - 使用 Docker 和 Flask 进行机器学习的性能问题

python - 在 Ipython 中使用 Pylint(Jupyter-Notebook)

python - plotly 属性错误: 'Figure' object has no attribute 'show'