在 R 中:
p + theme(axis.title = element_text(size = 12))
如何在 Python 实现中做到这一点?
Note: I can't find a comprehensive source of documentation for ggplot in Python, which is making presumably simple requests like this very difficult.
最佳答案
p + theme(axis_text = element_text(size = 12))
关于python - 在 Python ggplot 中更改轴标签大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32955581/