使用现有的基于matplotlib的代码为乳胶生成漂亮的绘图。
latexip的Python项目详细描述
迟发性皮损
使用现有的基于Matlab的代码生成胶乳的漂亮图形。
也可以使用此包生成绘图,而不使用乳胶。只是不要运行lp.latexify()。
- 自由软件:麻省理工学院许可证
- 文档:https://latexipy.readthedocs.io。
使用量
用python绘图:
importlatexipyaslplp.latexify()# Change to a serif font that fits with most LaTeX.withlp.figure('filename'):# saves in img/ by default.draw_the_plot()
以乳胶显示:
\usepackage{pgf}\input{filename.pgf}
功能
- 自动生成多个打印类型,例如用于乳胶的PDF、PNG和PGF。
- 适用于所有基于matplotlib的包,包括seaborn和pandas。
- 允许临时轻松更改样式。
学分
这个包是用Cookiecutter和audreyr/cookiecutter-pypackage项目模板创建的。
历史记录
1.0.1(2017-08-24)
- 修复github和pypi的自述文件呈现。
1.0.0(2017-08-24)
- pypi上的第一个版本。