绘图标题和标签为灰白色

问题描述

我使用下面的代码生成了下面的绘图:

sf::st_transform()

图表如下,标题、xaxis、yaxis 标签标题都以抑制颜色出现。我希望它们是鲜明的白色。

enter image description here

解决方法

您可以尝试多种主题。如果您使用“太阳能”,您将获得您想要的颜色。可以在here找到主题的来源供您参考。

fig=df.iplot(kind= 'scatter',size =9,mode='markers+text',opacity=0.8,colors=['blue'],yTitle= 'Count',xTitle = 'x',asFigure=True,theme='solar')

enter image description here