pharmpy.visualization module¶
- pharmpy.visualization.facetted_histogram(df)[source]¶
Facet of one histogram per column with cross filter interaction
- pharmpy.visualization.histogram(values, title='')[source]¶
Histogram with percentage on y and a rule at mean slider for reducing the number of values used.
- pharmpy.visualization.line_plot(df, x, title='', xlabel='', ylabel='', legend_title='')[source]¶
Line plot for multiple lines
- Parameters
df (pd.DataFrame) – DataFrame with one x column and multiple columns with y values
x – Name of the x column
title (str) – Plot title
xlabel (str) – Label of the x-axis
ylabel (str) – Label of the y-axis
legend_title (str) – Title of the legend