Does matplotlib have a convenient way to produce a histogram of categorical (possibly non-numeric) values? I can do it with bar(), but there's a fair amount of boilerplate involved (calculating the frequencies, counting the number of distinct values, etc.). This seems like it would be a common task, so I'm wondering if there's a function for it, or, failing that, a standard recipe.
"Do not follow where the path may lead. Go, instead, where there is no path, and leave a trail."