3

我正在尝试在 Jupyter 实验室中使用 R 内核进行绘图,并将我的 Jupyter 实验室主题设置为“Jupyterlab dark”。

下面是我的代码:

options(repr.plot.width=20, repr.plot.height=5)
plot(x)
points(x2,pch=1,col="blue")

这就是我得到的

当 Jupyter 实验室主题变暗时

有没有办法让它看起来更像下面的情节?(我将 jupyter lab 主题切换为 light,现在可以看到情节了)

当 Jupyter Lab 主题很轻时

4

1 回答 1

0

在情节之前添加:

par(bg = 'white')
plot(df)
于 2021-04-27T16:25:37.827 回答