def get_vertical_bar(pos, size):
 vertical = ColorBarVisual(pos=pos, size=size, label_str='iterations to escape', cmap=colormap, orientation='left')
 vertical.label.font_size = 15
 vertical.label.color = 'white'
 vertical.clim = (0, MAX_ITERATIONS)
 vertical.ticks[0].font_size = 10
 vertical.ticks[1].font_size = 10
 vertical.ticks[0].color = 'white'
 vertical.ticks[1].color = 'white'
 vertical.border_width = 1
 vertical.border_color = Color('#ababab')
 return vertical

def get_vertical_bar ( pos , size ) : vertical = ColorBarVisual ( pos = pos , size = size , label_str = 'iterations to escape' , cmap = colormap , orientation = 'left' ) vertical . label . font_size = 15 vertical . label . color = 'white' vertical . clim = ( 0 , MAX_ITERATIONS ) vertical . ticks [ 0 ] . font_size = 10 vertical . ticks [ 1 ] . font_size = 10 vertical . ticks [ 0 ] . color = 'white' vertical . ticks [ 1 ] . color = 'white' vertical . border_width = 1 vertical . border_color = Color ( '#ababab' ) return vertical
constructs the vertical bar that represents the color values for the mandlebrot set returns a vispy .