Module ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad body If CompareIn SubscriptLoad NameLoad Index Num TupleLoad NameLoad NameLoad NameLoad body Return Call SubscriptLoad NameLoad Index Num Call NameLoad NameLoad SubscriptLoad NameLoad Index Num orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Num NameLoad Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad body Return Call NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str If Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Str Assign NameStore IfExp CompareGt Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num TupleLoad Assign NameStore IfExp CompareGt Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num Dict orelse If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMult Str Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Dict If BoolOpOr NameLoad NameLoad body Assign NameStore Call NameLoad BinOpFloorDiv BinOpSub BinOpSub NameLoad Call NameLoad NameLoad Call NameLoad NameLoad BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad NameLoad If NameLoad body If CompareGt NameLoad Num body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad orelse Assign NameStore Str orelse Assign NameStore Str If NameLoad body If CompareGt NameLoad Num body Assign NameStore BinOpAdd Str Call AttributeLoad Str attr GeneratorExp Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr orelse Assign NameStore Str orelse Assign NameStore Str Return Call AttributeLoad Str attr NameLoad NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body If UnaryOpNot NameLoad body Return Str orelse If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num NameLoad NameLoad Return BinOpAdd SubscriptLoad NameLoad Slice Num Str orelse Assign NameStore Call NameLoad BinOpFloorDiv BinOpSub BinOpSub NameLoad Num BinOpMult Num Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad Return Call AttributeLoad Str attr NameLoad orelse TryExcept body If CompareIn NameLoad NameLoad body Return Str orelse Return Str handlers ExceptHandler type NameLoad body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad If CompareGt NameLoad NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad orelse If CompareLt NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Return ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad kwarg body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore BoolOpOr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad AugAssignSub AttributeStore NameLoad attr Num AugAssignSub AttributeStore NameLoad attr Num For NameStore SubscriptLoad NameLoad Slice Num body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad AugAssignSub AttributeStore NameLoad attr Num AugAssignSub AttributeStore NameLoad attr Num For NameStore NameLoad body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr ListComp ListLoad NameLoad comprehension NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num kwarg body Expr Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Num NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad ListComp BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Num NameLoad comprehension TupleStore NameStore NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Call NameLoad Num keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad keyword ListLoad Num BinOpSub NameLoad NameLoad NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameStore ListComp BinOpSub NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str ListComp BinOpSub BinOpAdd BinOpDiv NameLoad Num NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str ListComp BinOpAdd SubscriptLoad NameLoad Index NameLoad Num comprehension NameStore NameLoad Assign SubscriptStore NameLoad Index Str NameStore ListComp Call NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str keyword Num keyword Str keyword Str keyword Str orelse Assign NameStore Call AttributeLoad NameLoad attr keyword ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Num keyword ListLoad Num Num NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str kwarg body Expr Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore ListComp BinOpSub NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Call NameLoad NameLoad keyword TupleLoad Num BinOpSub NameLoad NameLoad NameLoad orelse Assign NameStore NameStore NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num keyword TupleLoad Num Num NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword SubscriptLoad NameLoad Index Num keyword Num keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Dict Str Call NameLoad keyword IfExp NameLoad Call NameLoad NameLoad Num keyword IfExp NameLoad Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword SubscriptLoad NameLoad Index Num keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Num kwarg body Expr Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad Call NameLoad Call NameLoad NameLoad Slice Num Assign NameStore Call NameLoad Call NameLoad Call NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad SubscriptLoad NameLoad Index Num NameLoad NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num For NameStore NameLoad body AugAssignAdd SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignSub SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad BinOpAdd ListLoad Num Call NameLoad Call NameLoad NameLoad Call NameLoad Num Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd ListLoad Num ListComp BinOpSub NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num Call NameLoad NameLoad NameLoad For TupleStore TupleStore NameStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Num keyword Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad ListComp NameLoad comprehension NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num Num keyword ListLoad Num Num NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Return NameLoad decorator_list
N/A __future__ absolute_import division print_function itertools cycle operator itemgetter add toolz unique groupby accumulate pluck N/A bokeh.plotting bp bokeh.io _state bokeh.palettes brewer bokeh.models HoverTool LinearAxis Range1d utils funcname core istask compatibility apply unquote N/A N/A expr N/A N/A N/A N/A istask expr N/A N/A N/A N/A expr N/A 0 N/A tuple list set N/A N/A N/A N/A expr N/A 0 N/A map unquote N/A expr N/A 1 N/A N/A N/A N/A N/A expr N/A 0 dict N/A isinstance N/A expr N/A 1 list N/A isinstance N/A N/A expr N/A 1 N/A 0 list N/A N/A N/A dict N/A map unquote N/A expr N/A 1 N/A expr N/A pprint_task N/A N/A task keys label_size N/A 60 N/A N/A Return a nicely formatted string for a task.

    Parameters
    ----------
    task:
        Value within dask graph to render as text
    keys: iterable
        List of keys within dask graph
    label_size: int (optional)
        Maximum size of output label, defaults to 60

    Examples
    --------
    >>> from operator import add, mul
    >>> dsk = {'a': 1,
    ...        'b': 2,
    ...        'c': (add, 'a', 'b'),
    ...        'd': (add, (mul, 'a', 'b'), 'c'),
    ...        'e': (sum, ['a', 'b', 5]),
    ...        'f': (add,),
    ...        'g': []}

    >>> pprint_task(dsk['c'], dsk)
    'add(_, _)'
    >>> pprint_task(dsk['d'], dsk)
    'add(mul(_, _), _)'
    >>> pprint_task(dsk['e'], dsk)
    'sum([_, _, *])'
    >>> pprint_task(dsk['f'], dsk)
    'add()'
    >>> pprint_task(dsk['g'], dsk)
    '[]'
     N/A N/A istask task N/A N/A func N/A task N/A 0 N/A N/A func apply N/A N/A head N/A funcname N/A task N/A 1 N/A tail ) N/A args N/A N/A N/A len task 2 N/A unquote N/A task N/A 2 N/A N/A kwargs N/A N/A N/A len task 3 N/A unquote N/A task N/A 3 N/A N/A N/A N/A hasattr func funcs N/A N/A head N/A N/A ( join N/A N/A funcname f N/A f N/A func funcs N/A tail N/A ) N/A len N/A func funcs N/A N/A head N/A funcname N/A task N/A 0 N/A tail ) N/A args N/A task N/A 1 N/A kwargs N/A N/A N/A args kwargs N/A N/A label_size2 N/A int N/A N/A N/A label_size N/A len head N/A len tail N/A N/A len args N/A len kwargs N/A pprint N/A N/A N/A t N/A N/A pprint_task t keys label_size2 N/A args N/A N/A N/A label_size2 5 N/A N/A args N/A N/A ,  join N/A N/A pprint t N/A t args N/A N/A args ... N/A N/A args N/A kwargs N/A N/A N/A label_size2 5 N/A N/A kwargs N/A ,  N/A N/A ,  join N/A N/A N/A {0}={1} format k N/A pprint v N/A N/A k v N/A sorted N/A N/A kwargs items N/A N/A kwargs , ... N/A N/A kwargs N/A N/A N/A {0}({1}{2}{3} format head args kwargs tail N/A N/A N/A isinstance task list N/A N/A N/A task N/A N/A [] N/A N/A N/A N/A len task 3 N/A N/A result N/A pprint_task N/A task N/A 3 keys label_size N/A N/A N/A result N/A -1 , ...] N/A N/A label_size2 N/A int N/A N/A N/A label_size 2 N/A 2 N/A len task N/A len task N/A args N/A N/A ,  join N/A N/A pprint_task t keys label_size2 N/A t task N/A N/A N/A [{0}] format args N/A N/A N/A N/A N/A task keys N/A N/A _ N/A N/A * N/A N/A N/A TypeError N/A N/A * N/A get_colors N/A N/A palette funcs N/A N/A N/A Get a dict mapping funcs to colors from palette.

    Parameters
    ----------
    palette : string
        Name of the palette. Must be a key in bokeh.palettes.brewer
    funcs : iterable
        Iterable of function names
     N/A unique_funcs N/A list N/A sorted N/A unique funcs N/A n_funcs N/A len unique_funcs N/A palette_lookup N/A brewer N/A palette N/A keys N/A list N/A N/A palette_lookup keys N/A N/A low high N/A N/A min keys N/A max keys N/A N/A n_funcs high N/A N/A colors N/A cycle N/A palette_lookup N/A high N/A N/A N/A n_funcs low N/A N/A colors N/A palette_lookup N/A low N/A N/A colors N/A palette_lookup N/A n_funcs N/A color_lookup N/A dict N/A zip unique_funcs colors N/A N/A N/A color_lookup N/A n N/A n funcs N/A visualize N/A N/A profilers file_path show save N/A None True True kwargs N/A N/A Visualize the results of profiling in a bokeh plot.

    If multiple profilers are passed in, the plots are stacked vertically.

    Parameters
    ----------
    profilers : profiler or list
        Profiler or list of profilers.
    file_path : string, optional
        Name of the plot output file.
    show : boolean, optional
        If True (default), the plot is opened in a browser.
    save : boolean, optional
        If True (default), the plot is saved to disk.
    **kwargs
        Other keyword arguments, passed to bokeh.figure. These will override
        all defaults set by visualize.

    Returns
    -------
    The completed bokeh plot object.
     N/A N/A N/A _state _notebook N/A N/A file_path N/A file_path profile.html N/A N/A N/A bp output_file file_path N/A N/A N/A isinstance profilers list N/A N/A profilers N/A profilers N/A figs N/A N/A N/A prof _plot kwargs N/A prof profilers N/A N/A N/A len figs 1 N/A N/A p N/A figs N/A 0 N/A N/A top N/A figs N/A 0 N/A f N/A figs N/A 1 N/A N/A N/A f x_range N/A top x_range N/A N/A f title None N/A N/A f min_border_top 30 N/A N/A f plot_height 30 N/A f N/A figs N/A -1 N/A N/A N/A N/A f xaxis axis_label None N/A N/A f min_border_bottom 30 N/A N/A f plot_height 30 N/A f figs N/A N/A N/A f min_border_left 75 N/A N/A f min_border_right 75 N/A p N/A N/A bp gridplot N/A N/A f N/A f figs N/A show N/A N/A N/A N/A bp show p N/A N/A file_path save N/A N/A N/A N/A bp save p N/A p N/A plot_tasks N/A N/A results dsk palette label_size N/A YlGnBu 60 kwargs N/A N/A Visualize the results of profiling in a bokeh plot.

    Parameters
    ----------
    results : sequence
        Output of Profiler.results
    dsk : dict
        The dask graph being profiled.
    palette : string, optional
        Name of the bokeh palette to use, must be key in bokeh.palettes.brewer.
    label_size: int (optional)
        Maximum size of output labels in plot, defaults to 60
    **kwargs
        Other keyword arguments, passed to bokeh.figure. These will override
        all defaults set by visualize.

    Returns
    -------
    The completed bokeh plot object.
     N/A defaults N/A dict title Profile Results tools hover,save,reset,resize,xwheel_zoom,xpan plot_width 800 plot_height 300 N/A N/A N/A defaults update N/A N/A k v N/A N/A k v N/A N/A kwargs items N/A k N/A N/A N/A bp Figure properties N/A results N/A N/A N/A keys tasks starts ends ids N/A zip results N/A id_group N/A groupby N/A itemgetter 4 results N/A timings N/A dict N/A N/A k N/A N/A N/A i end_time N/A i start_time N/A i v N/A N/A k v N/A N/A id_group items N/A id_lk N/A dict N/A N/A N/A t N/A 0 n N/A N/A n t N/A enumerate N/A sorted N/A N/A timings items key N/A itemgetter 1 reverse True N/A left N/A min starts N/A right N/A max ends N/A p N/A N/A bp figure y_range N/A N/A str i N/A i N/A range N/A len id_lk x_range N/A 0 N/A right left defaults N/A data N/A N/A N/A data N/A width width N/A N/A e s N/A N/A s e N/A zip starts ends N/A N/A data N/A x N/A N/A N/A N/A w 2 s left N/A N/A w s N/A zip width starts N/A N/A data N/A y N/A N/A N/A id_lk N/A i 1 N/A i ids N/A N/A data N/A function funcs N/A N/A pprint_task i dsk label_size N/A i tasks N/A N/A data N/A color N/A get_colors palette funcs N/A N/A data N/A key N/A N/A str i N/A i keys N/A source N/A N/A bp ColumnDataSource data data N/A N/A N/A p rect source source x x y y height 1 width width color color line_color gray N/A N/A p N/A N/A bp figure y_range N/A N/A str i N/A i N/A range 8 x_range N/A 0 10 defaults N/A N/A N/A p grid grid_line_color None N/A N/A N/A p axis axis_line_color None N/A N/A N/A p axis major_tick_line_color None N/A N/A N/A p yaxis axis_label Worker ID N/A N/A N/A p xaxis axis_label Time (s) N/A hover N/A N/A p select HoverTool N/A N/A hover tooltips 
    <div>
        <span style="font-size: 14px; font-weight: bold;">Key:</span>&nbsp;
        <span style="font-size: 10px; font-family: Monaco, monospace;">@key</span>
    </div>
    <div>
        <span style="font-size: 14px; font-weight: bold;">Task:</span>&nbsp;
        <span style="font-size: 10px; font-family: Monaco, monospace;">@function</span>
    </div>
     N/A N/A hover point_policy follow_mouse N/A p N/A plot_resources N/A N/A results palette N/A YlGnBu kwargs N/A N/A Plot resource usage in a bokeh plot.

    Parameters
    ----------
    results : sequence
        Output of ResourceProfiler.results
    palette : string, optional
        Name of the bokeh palette to use, must be key in bokeh.palettes.brewer.
    **kwargs
        Other keyword arguments, passed to bokeh.figure. These will override
        all defaults set by plot_resources.

    Returns
    -------
    The completed bokeh plot object.
     N/A defaults N/A dict title Profile Results tools save,reset,resize,xwheel_zoom,xpan plot_width 800 plot_height 300 N/A N/A N/A defaults update N/A N/A k v N/A N/A k v N/A N/A kwargs items N/A k N/A N/A N/A bp Figure properties N/A results N/A N/A N/A t mem cpu N/A zip results N/A N/A left right N/A N/A min t N/A max t N/A t N/A N/A i left N/A i t N/A p N/A N/A bp figure y_range N/A 0 N/A max cpu x_range N/A 0 N/A right left defaults N/A N/A t mem cpu N/A N/A p N/A N/A bp figure y_range N/A 0 100 x_range N/A 0 10 defaults N/A colors N/A N/A brewer N/A palette N/A 6 N/A N/A N/A p line t cpu color N/A colors N/A 0 line_width 4 legend % CPU N/A N/A N/A p yaxis axis_label % CPU N/A N/A p extra_y_ranges N/A memory N/A Range1d start N/A mem N/A min mem 0 end N/A mem N/A max mem 100 N/A N/A N/A p line t mem color N/A colors N/A 2 y_range_name memory line_width 4 legend Memory N/A N/A N/A p add_layout N/A LinearAxis y_range_name memory axis_label Memory (MB) right N/A N/A N/A p xaxis axis_label Time (s) N/A p N/A plot_cache N/A N/A results dsk start_time metric_name palette label_size N/A YlGnBu 60 kwargs N/A N/A Visualize the results of profiling in a bokeh plot.

    Parameters
    ----------
    results : sequence
        Output of CacheProfiler.results
    dsk : dict
        The dask graph being profiled.
    start_time : float
        Start time of the profile.
    metric_name : string
        Metric used to measure cache size
    palette : string, optional
        Name of the bokeh palette to use, must be key in bokeh.palettes.brewer.
    label_size: int (optional)
        Maximum size of output labels in plot, defaults to 60
    **kwargs
        Other keyword arguments, passed to bokeh.figure. These will override
        all defaults set by visualize.

    Returns
    -------
    The completed bokeh plot object.
     N/A defaults N/A dict title Profile Results tools hover,save,reset,resize,wheel_zoom,xpan plot_width 800 plot_height 300 N/A N/A N/A defaults update N/A N/A k v N/A N/A k v N/A N/A kwargs items N/A k N/A N/A N/A bp Figure properties N/A results N/A N/A N/A starts ends N/A N/A list N/A zip results N/A 3 N/A tics N/A list N/A sorted N/A unique N/A starts ends N/A groups N/A groupby N/A N/A N/A d N/A N/A pprint_task N/A d N/A 1 dsk label_size results N/A data N/A N/A N/A k vals N/A N/A groups items N/A N/A cnts N/A N/A dict fromkeys tics 0 N/A v vals N/A N/A N/A cnts N/A N/A v cache_time N/A v metric N/A N/A cnts N/A N/A v free_time N/A v metric N/A N/A data N/A k N/A N/A 0 N/A list N/A accumulate add N/A pluck 1 N/A sorted N/A N/A cnts items N/A tics N/A N/A 0 N/A N/A i start_time N/A i tics N/A p N/A N/A bp figure x_range N/A 0 N/A max tics defaults N/A N/A N/A key val color N/A zip N/A N/A data items N/A get_colors palette N/A N/A data keys N/A N/A N/A N/A p line x y line_color color line_width 3 source N/A N/A bp ColumnDataSource N/A x y label tics val N/A key N/A i val N/A N/A p N/A N/A bp figure y_range N/A 0 10 x_range N/A 0 10 defaults N/A N/A N/A p yaxis axis_label N/A N/A Cache Size ({0}) format metric_name N/A N/A N/A p xaxis axis_label Time (s) N/A hover N/A N/A p select HoverTool N/A N/A hover tooltips 
    <div>
        <span style="font-size: 14px; font-weight: bold;">Task:</span>&nbsp;
        <span style="font-size: 10px; font-family: Monaco, monospace;">@label</span>
    </div>
     N/A p N/A