Module Import alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Expr Call NameLoad Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num TryExcept body ImportFrom alias alias alias alias alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Num NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad If BoolOpAnd UnaryOpNot NameLoad CompareNotEq AttributeLoad NameLoad attr Str body Return NameLoad Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad orelse If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Assign NameStore ListComp BinOpAdd Call NameLoad NameLoad Call NameLoad comprehension NameStore NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad Return Call NameLoad keyword SubscriptLoad NameLoad Slice Num keyword SubscriptLoad NameLoad Slice Num decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str Str Call NameLoad keyword Str keyword ListLoad Str Str keyword NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword Num
N/A N/A numpy np datetime timedelta functools update_wrapper wraps math sin random random six string_types bokeh.plotting figure show output_file bokeh.models.sources AjaxDataSource N/A N/A output_file ajax_source.html title ajax_source.py example N/A source N/A AjaxDataSource data_url http://localhost:5050/data polling_interval 100 N/A p N/A figure N/A N/A N/A p circle x y source source N/A N/A N/A p x_range follow end N/A N/A N/A p x_range follow_interval 10 N/A N/A flask Flask jsonify make_response request current_app N/A N/A N/A ImportError N/A N/A N/A ImportError You need Flask to run this example! N/A N/A show p crossdomain N/A N/A origin methods headers max_age attach_to_all automatic_options N/A None None None 21600 True True N/A N/A 
    Decorator to set crossdomain configuration on a Flask view

    For more details about it refer to:

    http://flask.pocoo.org/snippets/56/
     N/A N/A methods None N/A N/A methods N/A N/A ,  join N/A sorted N/A N/A N/A x upper N/A x methods N/A N/A N/A headers None N/A N/A isinstance headers string_types N/A N/A headers N/A N/A ,  join N/A N/A N/A x upper N/A x headers N/A N/A N/A isinstance origin string_types N/A N/A origin N/A N/A ,  join origin N/A N/A isinstance max_age timedelta N/A N/A max_age N/A N/A max_age total_seconds get_methods N/A N/A N/A N/A N/A options_resp N/A N/A current_app make_default_options_response N/A N/A N/A options_resp headers N/A allow N/A decorator N/A N/A f N/A N/A wrapped_function N/A N/A N/A args kwargs N/A N/A N/A automatic_options N/A N/A request method OPTIONS N/A N/A resp N/A N/A current_app make_default_options_response N/A N/A resp N/A make_response N/A f args kwargs N/A N/A N/A attach_to_all N/A N/A request method OPTIONS N/A N/A resp N/A h N/A resp headers N/A N/A h N/A Access-Control-Allow-Origin origin N/A N/A h N/A Access-Control-Allow-Methods N/A get_methods N/A N/A h N/A Access-Control-Max-Age N/A str max_age N/A requested_headers N/A N/A N/A request headers get Access-Control-Request-Headers N/A N/A headers None N/A N/A N/A h N/A Access-Control-Allow-Headers headers N/A N/A requested_headers N/A N/A N/A h N/A Access-Control-Allow-Headers requested_headers N/A resp N/A N/A wraps f N/A N/A f provide_automatic_options False N/A N/A update_wrapper wrapped_function f N/A N/A decorator N/A N/A app N/A Flask __name__ N/A x N/A list N/A N/A np arange 0 6 0.1 N/A y N/A N/A N/A sin xx N/A random N/A xx x hello_world N/A N/A N/A N/A N/A N/A N/A x append N/A N/A x N/A -1 0.1 N/A N/A N/A y append N/A N/A sin N/A x N/A -1 N/A random N/A N/A jsonify x N/A x N/A -500 y N/A y N/A -500 N/A N/A N/A app route /data methods N/A GET OPTIONS POST N/A crossdomain origin * methods N/A GET POST headers None N/A N/A __name__ __main__ N/A N/A N/A N/A app run port 5050