def _make_transform_graph_docs():
 import inspect
 from textwrap import dedent
 from ...extern import six
 from ..baseframe import BaseCoordinateFrame, frame_transform_graph
 isclass = inspect.isclass
 coosys = [item for item in six.itervalues(globals()) if (isclass(item) and issubclass(item, BaseCoordinateFrame))]
 graphstr = frame_transform_graph.to_dot_graph(addnodes=coosys)
 docstr = '\n    The diagram below shows all of the coordinate systems built into the\n    `~astropy.coordinates` package, their aliases (useful for converting\n    other coordinates to them using attribute-style access) and the\n    pre-defined transformations between them.  The user is free to\n    override any of these transformations by defining new transformations\n    between these systems, but the pre-defined transformations should be\n    sufficient for typical usage.\n\n    The graph also indicates the priority for each transformation as a\n    number next to the arrow.  These priorities are used to decide the\n    preferred order when two transformation paths have the same number\n    of steps.  These priorities are defined such that the path with a\n    *smaller* total priority is favored.\n\n\n    .. graphviz::\n\n    '
 return ((dedent(docstr) + '    ') + graphstr.replace('\n', '\n    '))

def _make_transform_graph_docs ( ) : import inspect from textwrap import dedent from ... extern import six from . . baseframe import BaseCoordinateFrame , frame_transform_graph isclass = inspect . isclass coosys = [ item for item in six . itervalues ( globals ( ) ) if ( isclass ( item ) and issubclass ( item , BaseCoordinateFrame ) ) ] graphstr = frame_transform_graph . to_dot_graph ( addnodes = coosys ) docstr = '\n    The diagram below shows all of the coordinate systems built into the\n    `~astropy.coordinates` package, their aliases (useful for converting\n    other coordinates to them using attribute-style access) and the\n    pre-defined transformations between them.  The user is free to\n    override any of these transformations by defining new transformations\n    between these systems, but the pre-defined transformations should be\n    sufficient for typical usage.\n\n    The graph also indicates the priority for each transformation as a\n    number next to the arrow.  These priorities are used to decide the\n    preferred order when two transformation paths have the same number\n    of steps.  These priorities are defined such that the path with a\n    *smaller* total priority is favored.\n\n\n    .. graphviz::\n\n    ' return ( ( dedent ( docstr ) + '    ' ) + graphstr . replace ( '\n' , '\n    ' ) )
generates a string for use with the coordinate packages docstring to show the available transforms and coordinate systems .