Skip to content

Simplified gwpy.plotter module into gwpy.plot

Duncan Macleod requested to merge github/fork/duncanmmacleod/gwpy-plot into develop

This PR introduces basically a complete rewrite of gwpy.plotter as gwpy.plot. The highlights are as follows

  • all of the Plot subclasses have been removed, and their functionality made more generic as methods of the main Plot object
  • all of the Axes subclasses have been similarly removed, with the exception of SegmentAxes
  • all object plot() methods have been updated to match
  • a new unit test suite for gwpy.plot has been written as gwpy.plot.tests - I imagine this to be a better place to house tests for all modules

gwpy.plotter has not been removed, but has been marked as DEPRECATED via a DeprecationWarning.

Merge request reports