The improperly formatted y axis graph units
这是我的Django app views.py
中的伴随python代码plot2 = figure(title= title2,
x_axis_label= 'Date',
x_axis_type= 'datetime',
y_axis_label= 'Ease of Sleep',
y_axis_type='linear',
plot_width =400,
plot_height=400)
plot1.scatter(chart_values_x_graph1,
chart_values_y_graph1,
legend= 'f(x)',
line_width = 2)
script1, div1 = components(plot1, CDN)
plot2.scatter(chart_values_x_graph2,
chart_values_y_graph2,
legend='1 = Easily; 2 = After Some Time; 3 = With Difficulty',
line_width = 2)
script2, div2 = components(plot2, CDN)