old_contents: from datetime import datetime as dt
  
  from bokeh.sampledata.daylight import daylight_warsaw_2013
  from bokeh.plotting import figure, show, output_file
  from bokeh.models import LineAnnotation
  
  output_file("line_annotation.html", title="line_annotation.py example")
  
  p = figure(x_axis_type="datetime", y_axis_type="datetime")
  
  p.line(daylight_warsaw_2013.Date, daylight_warsaw_2013.Sunset,
         line_dash='solid', line_width=2, legend="Sunset")
  p.line(daylight_warsaw_2013.Date, daylight_warsaw_2013.Sunrise,
         line_dash='dotted', line_width=2, legend="Sunrise")
  
  
  daylight_savings_start = LineAnnotation(location=dt(2013, 3, 31, 2, 0, 0).timestamp()*1000,
                                          dimension='height', line_color='green',
                                          line_dash='dashed',
                                          line_width=3)
  daylight_savings_end = LineAnnotation(location=dt(2013, 10, 27, 3, 0, 0).timestamp()*1000,
                                        dimension='height', line_color='red',
                                        line_dash='dashed',
                                        line_width=3)
  p.renderers.extend([daylight_savings_start, daylight_savings_end])
  
  p.title = "2013 Sunrise and Sunset times in Warsaw"
  p.yaxis.axis_label = 'Time of Day'
  
  show(p)
  
new_contents: from datetime import datetime as dt
  
  from bokeh.sampledata.daylight import daylight_warsaw_2013
  from bokeh.plotting import figure, show, output_file
  from bokeh.models import LineAnnotation
  
  output_file("line_annotation.html", title="line_annotation.py example")
  
  p = figure(x_axis_type="datetime", y_axis_type="datetime")
  
  p.line(daylight_warsaw_2013.Date, daylight_warsaw_2013.Sunset,
         line_dash='solid', line_width=2, legend="Sunset")
  p.line(daylight_warsaw_2013.Date, daylight_warsaw_2013.Sunrise,
         line_dash='dotted', line_width=2, legend="Sunrise")
  
  daylight_savings_start = LineAnnotation(location=dt(2013, 3, 31, 2, 0, 0).timestamp()*1000,
                                          dimension='height', line_color='green',
                                          line_dash='dashed', line_width=3)
  daylight_savings_end = LineAnnotation(location=dt(2013, 10, 27, 3, 0, 0).timestamp()*1000,
                                        dimension='height', line_color='red',
                                        line_dash='dashed', line_width=3)
  p.renderers.extend([daylight_savings_start, daylight_savings_end])
  
  p.title = "2013 Sunrise and Sunset times in Warsaw"
  p.yaxis.axis_label = 'Time of Day'
  
  show(p)
  
subject: Fix whitespace