Skip to content

Deprecated the @axes_methods decorator

This PR deprecates the @axes_methods decorator used in gwpy.plotter.Plot and subclasses to project methods of Axes onto Plot with a single Axes.

This magic was never documented properly, and is potentially confusing to use - it presents a non-standard usage for Plots with multiple Axes - and potentially annoying to maintain.

@areeda, this includes a small change to gwpy.cli to remove usage of the decorator, so please take a look.

Merge request reports