Skip to content
Snippets Groups Projects
Commit bf18b543 authored by Arin Wongprommoon's avatar Arin Wongprommoon
Browse files

[routines/boxplot] Add docstring for plotting function

parent 9df680ef
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,41 @@ def boxplot( ...@@ -63,6 +63,41 @@ def boxplot(
plot_title="", plot_title="",
ax=None, ax=None,
): ):
"""Draw series of boxplots from an array of time series of traces
Draw series of boxplots from an array of time series of traces, showing the
distribution of values at each time point over time.
Parameters
----------
trace_df : pandas.DataFrame
Time series of traces (rows = cells, columns = time points).
trace_name : string
Name of trace being plotted, e.g. 'flavin'.
unit_scaling : int or float
Unit scaling factor, e.g. 1/60 to convert minutes to hours.
box_color : string
matplolib colour string, specifies colour of boxes in boxplot
xtick_step : int or float
Interval length, in unit time, to draw x axis ticks.
xlabel : string
x axis label.
plot_title : string
Plot title.
ax : matplotlib Axes
Axes in which to draw the plot, otherwise use the currently active Axes.
Returns
-------
ax : matplotlib Axes
Axes object with the heatmap.
Examples
--------
FIXME: Add docs.
"""
plotter = _BoxplotPlotter( plotter = _BoxplotPlotter(
trace_df, trace_df,
trace_name, trace_name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment