def _flatten_visible(self, axes):
axes = _flatten(axes)<EOL>axes = [ax for ax in axes if ax.get_visible()]<EOL>return axes<EOL>
Flatten axes, and filter only visible

Parameters
----------
axes : matplotlib Axes object, or its list-like