18 chart functions that produce publication-ready output with a consistent visual style. No tweaking matplotlib defaults.
Highlight functions
PlotCorrelationMatrix
Pearson or Spearman correlation heatmap with significance masking.
from analysistoolbox.visualizations import PlotCorrelationMatrix
PlotCorrelationMatrix(
dataframe=df,
method="pearson",
mask_insignificant=True
)
PlotTimeSeries
Time series line chart with optional trend line, confidence band, and recession shading.
from analysistoolbox.visualizations import PlotTimeSeries
PlotTimeSeries(
dataframe=df,
date_column="month",
value_column="revenue",
chart_title="Monthly Revenue"
)
PlotScatterplot
Scatter plot with optional regression line, confidence interval, and group coloring.
PlotBarChart
Horizontal or vertical bar chart with value labels and optional target line.
RenderTableOne
Clinical summary table (Table 1) — means/SDs for continuous variables, n/% for categorical — stratified by a grouping variable.
All functions
| Function | Chart type |
|---|---|
| Plot100PercentStackedBarChart | 100% stacked bars |
| PlotBarChart | Bar chart |
| PlotBoxWhiskerByGroup | Box plot by group |
| PlotBulletChart | Executive bullet chart |
| PlotCard | Single metric card |
| PlotClusteredBarChart | Grouped bar chart |
| PlotContingencyHeatmap | Contingency table heatmap |
| PlotCorrelationMatrix | Correlation heatmap |
| PlotDensityByGroup | Density plot by group |
| PlotDotPlot | Dot plot |
| PlotHeatmap | General heatmap |
| PlotOverlappingAreaChart | Overlapping area chart |
| PlotRiskTolerance | Risk tolerance curve |
| PlotScatterplot | Scatter with regression |
| PlotSingleVariableCountPlot | Frequency count plot |
| PlotSingleVariableHistogram | Histogram with density |
| PlotTimeSeries | Time series line chart |
| RenderTableOne | Clinical summary table |