create_plot_durations_v_nrows

servicemon.analysis.basic_plotting.create_plot_durations_v_nrows(source, x_axis_type='log', x_range=(1, 100000), y_axis_type='log', y_range=(0.001, 1000))[source]

Create a Bokeh plot (Figure) of do_query_dur and stream_to_file_dur versus num_rows. num_rows is the number of result rows from the query.

Parameters
sourceColumnDataSource

Bokeh data source containing the navostats data

x_axis_typestr

auto, linear, log, datetime, or mercator

x_rangetuple (min, max)

The range of values to display on the x axis. When x_axis_type is ‘log’, it helps if the endpoints are exact powers of 10.

y_axis_typestr

auto, linear, log, datetime, or mercator

y_rangetuple (min, max)

The range of values to display on the y axis. When y_axis_type is ‘log’, it helps if the endpoints are exact powers of 10.

Returns
plotting.figure

A Bokeh plot that can be shown.