0
我正在运行的Python在Jupyter笔记本电脑和我有以下的代码在笔记本运行良好:如何让我的散景Boxplot显示y轴上所有刻度线的值?
from bokeh.charts import BoxPlot, show
from bokeh.io import output_notebook
output_notebook()
df = myfile2
p = BoxPlot(df, values='Total Spending', label=['Market'],color='Market', marker='square',
whisker_color='black',legend=False, plot_width=800, plot_height=600,
title="Total Spending, February 2017)")
p.xaxis.major_label_orientation = "horizontal"
show(p)
我的问题是,y轴显示下列值和刻度线:
1000-
-
-
-
-
500-
-
-
-
-
0-
我想格式化y轴,使值显示如下:
1000
900
800
700
...
0
能将它散景做呢?