from bokeh.plotting import figure, output_file, show

# prepare some data
x = [1, 2, 3, 4, 5]
y1 = [el**2 for el in x]
y2 = [10**el for el in x]
y3 = [10**(el**2) for el in x]

# output to static HTML file
output_file("log_lines.html")

# create a new figure
p = figure(
    tools="pan,box_zoom,reset,previewsave",
    y_axis_type="log", y_range=[0.001, 10**22], title="log axis example",
    x_axis_label='sections', y_axis_label='particles'
)

# create plots!
p.line(x, x, legend="y=x")
p.circle(x, x, legend="y=x")
p.line(x, y1, legend="y=x**2")
p.circle(x, y1, fill_color=None, line_color="green", legend="y=x**2")
p.line(x, y2, line_color="red", line_width=2, legend="y=10^x")
p.line(x, y3, line_color="orange", line_width=2, legend="y=10^(x^2)")

show()

@@ -68,16 +68,17 @@
 e data%0Ax
+0
  = %5B1, 2
@@ -98,18 +98,17 @@
  = %5B
-el
+x
 **2 for 
 el i
@@ -103,23 +103,23 @@
 **2 for 
-el
+x
  in x
+0
 %5D%0Ay2 = %5B
@@ -126,22 +126,21 @@
 10**
-el
+x
  for 
-el
+x
  in x
+0
 %5D%0Ay3
@@ -148,18 +148,17 @@
 = %5B10**(
-el
+x
 **2) for
@@ -162,15 +162,15 @@
 for 
-el
+x
  in x
+0
 %5D%0A%0A#
@@ -461,19 +461,21 @@
 p.line(x
+0
 , x
+0
 , legend
@@ -492,19 +492,21 @@
 circle(x
+0
 , x
+0
 , legend
@@ -521,16 +521,17 @@
 p.line(x
+0
 , y1, le
@@ -555,16 +555,17 @@
 circle(x
+0
 , y1, fi
@@ -624,16 +624,17 @@
 p.line(x
+0
 , y2, li
@@ -688,16 +688,17 @@
 p.line(x
+0
 , y3, li

make quickstart log line example more readable