fix_duplicate_notes#

sunpy.util.fix_duplicate_notes(subclass_doc, cls_doc)[source]#

Returns a new documentation string such that there are notes section duplication in in Map subclasses.

Parameters:
  • subclass_doc (str) – The documentation that needs to be appended.

  • cls_doc – The original class’s documentation.

Returns:

str – Updated documentation that contains no note section duplication.