Allow passing clim=None to gwpy.plot.colors.format_norm
This PR fixes an error seen when running gwdetchar-omega
with gwpy-0.12.0, which manually passes clim=None
to a plotting method, which caused format_norm
to crash.
I have also added a dedicated test module for gwpy.plot.colors
, include a regression test for this bug.
cc @alurban