<s> from datetime import datetime as dt <EOL> from bokeh . sampledata . daylight import daylight_warsaw_2013 <EOL> from bokeh . plotting import figure , show , output_file <EOL> from bokeh . models import Span <EOL> output_file ( "<STR_LIT>" , title = "<STR_LIT>" ) <EOL> p = figure ( x_axis_type = "<STR_LIT>" , y_axis_type = "<STR_LIT>" ) <EOL> p . line ( daylight_warsaw_2013 . Date , daylight_warsaw_2013 . Sunset , <EOL> line_dash = '<STR_LIT>' , line_width = <NUM_LIT:2> , legend = "<STR_LIT>" ) <EOL> p . line ( daylight_warsaw_2013 . Date , daylight_warsaw_2013 . Sunrise , <EOL> line_dash = '<STR_LIT>' , line_width = <NUM_LIT:2> , legend = "<STR_LIT>" ) <EOL> daylight_savings_start = Span ( location = dt ( <NUM_LIT> , <NUM_LIT:3> , <NUM_LIT> , <NUM_LIT:2> , <NUM_LIT:0> , <NUM_LIT:0> ) . timestamp ( ) * <NUM_LIT:1000> , <EOL> dimension = '<STR_LIT>' , line_color = '<STR_LIT>' , <EOL> line_dash = '<STR_LIT>' , line_width = <NUM_LIT:3> ) <EOL> daylight_savings_end = Span ( location = dt ( <NUM_LIT> , <NUM_LIT:10> , <NUM_LIT> , <NUM_LIT:3> , <NUM_LIT:0> , <NUM_LIT:0> ) . timestamp ( ) * <NUM_LIT:1000> , <EOL> dimension = '<STR_LIT>' , line_color = '<STR_LIT>' , <EOL> line_dash = '<STR_LIT>' , line_width = <NUM_LIT:3> ) <EOL> p . renderers . extend ( [ daylight_savings_start , daylight_savings_end ] ) <EOL> p . title = "<STR_LIT>" <EOL> p . yaxis . axis_label = '<STR_LIT>' <EOL> show ( p ) </s>
