Fix version comparisons in gwpy.plot

This MR fixes #1786 (closed) by improving the way that versions are compared, specifically the Matplotlib version.

String comparisons don't compare naturally, so we need to use packaging.version. This is an extra runtime requirement, but this is already a requirement of matplotlib, so has no practical impact.

Merge request reports

Loading