1

我想使用 ggplot for Python 创建一个简单的散点图,但我不希望图中出现网格线。有没有办法抑制网格线?我知道在 ggplot2 我可以使用类似的东西

theme(panel.grid.major.x = element_blank(), panel.grid.minor.x = element_blank())

ggplot但是,我在Python 文档或 StackExchange中找不到类似的内容。

4

1 回答 1

0

I had the same problem and I was able to find a theme at http://ggplot.yhathq.com/docs/theme_matplotlib.html

于 2015-02-20T03:04:39.150 回答