<s> """<STR_LIT>""" <EOL> import sys <EOL> import numpy as np <EOL> from vispy import scene , app <EOL> canvas = scene . SceneCanvas ( keys = '<STR_LIT>' , size = ( <NUM_LIT> , <NUM_LIT> ) , show = True ) <EOL> grid = canvas . central_widget . add_grid ( margin = <NUM_LIT:10> ) <EOL> grid . spacing = <NUM_LIT:0> <EOL> title = scene . Label ( "<STR_LIT>" , color = '<STR_LIT>' ) <EOL> title . height_max = <NUM_LIT> <EOL> grid . add_widget ( title , row = <NUM_LIT:0> , col = <NUM_LIT:0> , col_span = <NUM_LIT:3> ) <EOL> yaxis = scene . AxisWidget ( orientation = '<STR_LIT:left>' ) <EOL> yaxis . width_max = <NUM_LIT> <EOL> grid . add_widget ( yaxis , row = <NUM_LIT:1> , col = <NUM_LIT:1> ) <EOL> ylabel = scene . Label ( '<STR_LIT>' , rotation = - <NUM_LIT> , color = '<STR_LIT>' ) <EOL> ylabel . width_max = <NUM_LIT> <EOL> grid . add_widget ( ylabel , row = <NUM_LIT:1> , col = <NUM_LIT:0> ) <EOL> xaxis = scene . AxisWidget ( orientation = '<STR_LIT>' ) <EOL> xaxis . height_max = <NUM_LIT> <EOL> grid . add_widget ( xaxis , row = <NUM_LIT:2> , col = <NUM_LIT:2> ) <EOL> xlabel = scene . Label ( '<STR_LIT>' , color = '<STR_LIT>' ) <EOL> xlabel . height_max = <NUM_LIT> <EOL> grid . add_widget ( xlabel , row = <NUM_LIT:3> , col = <NUM_LIT:0> , col_span = <NUM_LIT:3> ) <EOL> right_padding = grid . add_widget ( row = <NUM_LIT:0> , col = <NUM_LIT:3> , row_span = <NUM_LIT:3> ) <EOL> right_padding . width_max = <NUM_LIT:50> <EOL> view = grid . add_view ( row = <NUM_LIT:1> , col = <NUM_LIT:2> , border_color = '<STR_LIT>' ) <EOL> data = np . random . normal ( size = ( <NUM_LIT:1000> , <NUM_LIT:2> ) ) <EOL> data [ <NUM_LIT:0> ] = - <NUM_LIT:10> , - <NUM_LIT:10> <EOL> data [ <NUM_LIT:1> ] = <NUM_LIT:10> , - <NUM_LIT:10> <EOL> data [ <NUM_LIT:2> ] = <NUM_LIT:10> , <NUM_LIT:10> <EOL> data [ <NUM_LIT:3> ] = - <NUM_LIT:10> , <NUM_LIT:10> <EOL> data [ <NUM_LIT:4> ] = - <NUM_LIT:10> , - <NUM_LIT:10> <EOL> plot = scene . Line ( data , parent = view . scene ) <EOL> view . camera = '<STR_LIT>' <EOL> xaxis . link_view ( view ) <EOL> yaxis . link_view ( view ) <EOL> if __name__ == '<STR_LIT:__main__>' and sys . flags . interactive == <NUM_LIT:0> : <EOL> app . run ( ) </s>
