Module Expr Str ImportFrom alias alias alias Import alias identifier Assign NameStore Num Assign NameStore Num Assign NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign SubscriptStore NameLoad Slice Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpFloorDiv NameLoad NameLoad Assign NameStore Num Assign NameStore Num While CompareLt NameLoad NameLoad body Assign NameStore BinOpAdd BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpFloorDiv NameLoad Num Assign SubscriptStore NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad NameLoad AugAssignAdd NameStore Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad While CompareLt Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num If CompareEq NameLoad NameLoad body Continue Assign NameStore IfExp CompareEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Num Num If CompareLt Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareIn TupleLoad NameLoad NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr ListComp SubscriptLoad Call AttributeLoad NameLoad attr NameLoad ExtSlice Index Num Slice Num comprehension NameStore Call AttributeLoad NameLoad attr Num Num NameLoad Assign SubscriptStore NameLoad Slice SubscriptLoad NameLoad Index NameLoad AugAssignMult NameStore BinOpPow Num Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword TupleLoad Num Num Num Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num FunctionDef arguments args NameParam defaults body Global identifier identifier identifier identifier identifier identifier identifier identifier Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num keyword Str Assign SubscriptStore NameLoad Slice SubscriptLoad NameLoad ExtSlice Slice Index AttributeLoad NameLoad attr Slice AugAssignSub NameStore SubscriptLoad NameLoad ExtSlice Index AttributeLoad NameLoad attr Slice Slice Assign NameStore BinOpPow Call AttributeLoad BinOpPow NameLoad Num attr keyword Num Num Assign SubscriptStore NameLoad Index CompareEq NameLoad Num Num Assign NameStore BinOpDiv NameLoad SubscriptLoad NameLoad ExtSlice Ellipsis Index AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num keyword Str AugAssignSub NameStore BinOpDiv BinOpMult Num NameLoad BinOpPow SubscriptLoad NameLoad ExtSlice Ellipsis Index AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num keyword Str Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad AugAssignAdd NameStore BinOpMult BinOpMult NameLoad SubscriptLoad NameLoad ExtSlice Ellipsis Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num AugAssignAdd NameStore BinOpMult Call AttributeLoad NameLoad attr NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad AugAssignAdd NameStore Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Plot clusters of data points and a graph of connections
 vispy app scene color N/A numpy np N/A npts 400 N/A nedges 900 N/A ngroups 7 N/A N/A N/A N/A np random seed 127396 N/A pos N/A N/A np empty N/A npts 2 dtype float32 N/A colors N/A N/A np empty N/A npts 3 dtype float32 N/A edges N/A N/A np empty N/A nedges 2 dtype uint32 N/A types N/A N/A np empty npts dtype int N/A N/A pos N/A N/A N/A N/A np random normal size N/A pos shape scale 4.0 N/A grpsize N/A npts ngroups N/A ptr 0 N/A typ 0 N/A N/A ptr npts N/A N/A size N/A N/A N/A N/A N/A np random random grpsize N/A grpsize 2 N/A N/A types N/A ptr N/A ptr size typ N/A typ 1 N/A ptr N/A ptr size N/A conn N/A N/A connset N/A set N/A N/A N/A len conn nedges N/A N/A N/A i j N/A N/A N/A np random randint npts size 2 N/A N/A i j N/A N/A N/A p N/A N/A N/A types N/A i N/A types N/A j 0.7 0.01 N/A N/A N/A N/A N/A np random random p N/A N/A N/A N/A i j connset N/A N/A N/A N/A N/A connset add N/A i j N/A N/A N/A connset add N/A j i N/A N/A N/A conn append N/A i j N/A N/A edges N/A conn N/A cmap N/A N/A color get_colormap cubehelix N/A typ_colors N/A N/A np array N/A N/A N/A N/A cmap map x N/A N/A 0 N/A 3 N/A x N/A N/A np linspace 0.2 0.8 typ N/A N/A colors N/A N/A typ_colors N/A types N/A colors N/A 1.1 N/A N/A N/A np random normal size N/A colors shape N/A colors N/A N/A np clip colors 0 1 N/A canvas N/A N/A scene SceneCanvas keys interactive show True N/A view N/A N/A N/A canvas central_widget add_view N/A N/A view camera panzoom N/A N/A N/A view camera aspect 1 N/A lines N/A N/A scene Line pos pos connect edges antialias False method gl color N/A 1 1 1 0.2 parent N/A view scene N/A markers N/A N/A scene Markers pos pos face_color colors symbol o parent N/A view scene N/A N/A N/A N/A view camera set_range N/A i 1 update N/A N/A ev N/A N/A N/A pos edges lines markers view force dist i N/A dx N/A N/A np empty N/A npts npts 2 dtype float32 N/A N/A dx N/A N/A pos N/A N/A N/A N/A np newaxis N/A N/A dx N/A pos N/A N/A N/A np newaxis N/A N/A N/A dist N/A N/A N/A N/A dx 2 sum axis 2 0.5 N/A N/A dist N/A N/A dist 0 1.0 N/A ndx N/A dx N/A dist N/A N/A N/A N/A np newaxis N/A force N/A N/A np zeros N/A npts npts 2 dtype float32 N/A force N/A N/A 0.1 ndx N/A N/A dist N/A N/A N/A N/A np newaxis 2 N/A s 0.1 N/A mask N/A N/A np zeros N/A npts npts 1 dtype float32 N/A N/A mask N/A N/A N/A edges N/A N/A N/A 0 N/A edges N/A N/A N/A 1 s N/A N/A mask N/A N/A N/A edges N/A N/A N/A 1 N/A edges N/A N/A N/A 0 s N/A force N/A N/A dx N/A dist N/A N/A N/A N/A np newaxis mask N/A N/A force N/A N/A N/A N/A np arange npts N/A N/A np arange npts 0 N/A force N/A N/A force sum axis 0 N/A pos N/A N/A N/A np clip force -3 3 0.09 N/A N/A N/A lines set_data pos pos N/A N/A N/A markers set_data pos pos face_color colors N/A i 1 N/A N/A timer N/A N/A app Timer interval 0 connect update start True N/A N/A __name__ __main__ N/A N/A N/A N/A app run