Testing a Chart Without Looking at It
A chart function that returns its Figure and Axes can be tested like any other function, by reading what the Axes holds, its title, axis labels, each bar's height and a line's data, with matplotlib's Agg backend set in conftest.py and every figure closed with plt.close.
Updated

- Category
- Data Analysis
- Level
- Journeyman
- Tags
- <figure>, Agg Backend, Axes, conftest.py, plt.close(), python