PERF/CLN: Avoid ravel in plotting
xref https://github.com/pandas-dev/pandas/issues/55549

Also makes `flatten_axes` an iterator since this is often just iterated over
Looks like tests are passing so going to merge. Happy to follow up if needed