设置刻度
刻度值与标签
待更新
刻度标签属性
axis_text ,x,y轴的刻度标签
x_axis_text 单独x轴刻度标签
y_axis_text 单独x轴刻度标签
from ggplot import theme
theme?
待更新
坐标轴标签属性
设置文本元素
element_text()
text:
value of text
family:
font family
face:
???
color:
color of the text
size:
font size
hjust:
horizontal adjustment from true x
vjust:
vertical adjustment from true y
angle:
rotate text
lineheight:
spacing between lines of text
margin:
margin around text
examples:
theme(axis_text=element_text(size=20))
theme(x_axis_text=element_text(color=“orange”), y_axis_text=element_text(color=“blue”))
theme(axis_text=element_text(size=20), x_axis_text=element_text(color=“orange”), y_axis_text=element_text(color=“blue”))