百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

tueplots

> DevOps
开源

在最低开销下设置图表大小、字体大小、字体以及其他配置。修复期刊文章、会议论文集和其他科学出版物

752 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

在最低开销下设置图表大小、字体大小、字体以及其他配置。修复期刊文章、会议论文集和其他科学出版物

TUEplots: Extend matplotlib for scientific publications

Why?

tueplots helps you to create scientific plots that can be used in papers, presentations, posters, or other publications. tueplots does not try to make your plots as beautiful as possible (who are we to judge your favourite color). Instead, it makes it effortless to avoid common issues like too-small figures, inappropriate fontsizes, or inconsistencies among figures. Because good-looking figures are important.

For example, consider the style tailored to the ICML2022 template. (Left: default matplotlib, middle: one line of tueplots-code, right: two lines of tueplots-code)

Principles

tueplots has no internal state: It only passes around dictionaries, whose key-value pairs match those that matplotlib uses. Instead of updating global state, it makes it easy for you to do it yourself! If you want to globally change settings, pass them to matplotlib.pyplot.rcParams.update(). If you only need them for specific contexts, pass them to matpltlib.pyplot.rc_context(). tueplots makes the change easy, so you can make the easy change. This should make tueplots naturally compatible with other matplotlib extensions. Usage examples are given below.

tueplots has no opinions: It does not tell you what your figures should look like in the end, but helps you to tailor your plots to your own needs. We like all the colors, frame-styles, markers, or linewidths. But we do think that figure sizes should match the text-width in your publication, and that the font-size in the plot should be readable, and similar to the rest of the paper/presentation/....

Getting started

Installing tueplots is explained here. Some usage examples are given at this url. A more specific tutorial, applying tueplots to figures intended for ICML 2022, is on this page. If something is not working as promised, please refer to the troubleshooting site. For more advanced tutorials, you may refer to the example notebooks.

Related packages

There are similar packages to tueplots (with different foci, respectively):

  • Seaborn: https://seaborn.pydata.org/index.html
  • ProPlot: https://proplot.readthedocs.io/en/latest/cycles.html
  • SciencePlots: https://github.com/garrettj403/SciencePlots
  • MatplotX: https://github.com/nschloe/matplotx
  • Themepy: https://github.com/petermckeeverPerform/themepy

The matplotlib third-party plots contains a more comprehensive list. If you know of any others, please feel invited to open an issue/PR.

Miscellaneous

tueplotshas been started at the University of Tübingen (hence the name).

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonmatplotlibscientific-visualization

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理