<s> from itertools import product <EOL> from math import pi <EOL> from bokeh . plotting import figure , show , output_file <EOL> cats = [ '<STR_LIT:None>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> p = figure ( x_range = cats , y_range = cats , <EOL> title = "<STR_LIT>" ) <EOL> p . xaxis . axis_label = "<STR_LIT>" <EOL> p . xaxis . major_label_orientation = pi / <NUM_LIT:4> <EOL> p . yaxis . axis_label = "<STR_LIT>" <EOL> p . grid . grid_line_color = None <EOL> p . toolbar_location = None <EOL> alpha = <NUM_LIT:0.5> <EOL> fill_color = ( <NUM_LIT> , <NUM_LIT> , <NUM_LIT:64> ) <EOL> fill_color_alpha = ( <NUM_LIT> , <NUM_LIT> , <NUM_LIT:64> , alpha ) <EOL> line_color = ( <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:0> ) <EOL> line_color_alpha = ( <NUM_LIT:0> , <NUM_LIT:0> , <NUM_LIT:0> , alpha ) <EOL> fill = [ ( <NUM_LIT:1> , { } ) , <EOL> ( <NUM_LIT:2> , { '<STR_LIT>' : alpha } ) , <EOL> ( <NUM_LIT:3> , { '<STR_LIT>' : fill_color } ) , <EOL> ( <NUM_LIT:4> , { '<STR_LIT>' : fill_color_alpha } ) , <EOL> ( <NUM_LIT:5> , { '<STR_LIT>' : alpha , '<STR_LIT>' : fill_color } ) , <EOL> ( <NUM_LIT:6> , { '<STR_LIT>' : alpha , '<STR_LIT>' : fill_color_alpha } ) ] <EOL> line = [ ( <NUM_LIT:1> , { } ) , <EOL> ( <NUM_LIT:2> , { '<STR_LIT>' : alpha } ) , <EOL> ( <NUM_LIT:3> , { '<STR_LIT>' : line_color } ) , <EOL> ( <NUM_LIT:4> , { '<STR_LIT>' : line_color_alpha } ) , <EOL> ( <NUM_LIT:5> , { '<STR_LIT>' : alpha , '<STR_LIT>' : line_color } ) , <EOL> ( <NUM_LIT:6> , { '<STR_LIT>' : alpha , '<STR_LIT>' : line_color_alpha } ) ] <EOL> combinations = product ( fill , line ) <EOL> for comb in combinations : <EOL> x , fill_options = comb [ <NUM_LIT:0> ] <EOL> y , line_options = comb [ <NUM_LIT:1> ] <EOL> options = fill_options . copy ( ) <EOL> options . update ( line_options ) <EOL> p . circle ( x , y , line_width = <NUM_LIT:7> , size = <NUM_LIT:50> , ** options ) <EOL> output_file ( '<STR_LIT>' , title = "<STR_LIT>" ) <EOL> show ( p ) </s>
