gradelib.plot
- Display visual summaries
Functions for plotting.
- gradelib.plot.grade_distribution(gradebook: Gradebook, x_min: float = 0.6, x_max: float = 1, bin_width: float = 0.025)
Visualize the grade distribution with respect to a scale.
This will plot an interactive histogram of the grade distribution, with each individual grade marked as a dot. Furthermore, if a gradine scale is provided, the letter grade thresholds are marked on the histogram as vertical lines, and the frequency of each letter grade is shown.
- Parameters:
gradebook (Gradebook)
x_min (float) – The smallest extent of the axis containing scores. Default: 0.6
x_max (float) – The greatest extent of the axis containing scores. Default: 1.02
bin_width – How wide each bin should be. Default: 0.025.