Skip to content

Commit

Permalink
Merge pull request #7675 from Cadair/frames_correction
Browse files Browse the repository at this point in the history
Put the frame transform graph in a div with a class
  • Loading branch information
adrn committed Jul 24, 2018
2 parents a0bf055 + 993c63b commit 89a46a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions astropy/coordinates/builtin_frames/__init__.py
Expand Up @@ -100,12 +100,14 @@ def make_transform_graph_docs(transform_graph):
frames) is set by the type of transformation; the legend box defines the
mapping from transform class name to color.
.. Wrap the graph in a div with a custom class to allow themeing.
.. container:: frametransformgraph
.. graphviz::
.. graphviz::
"""

docstr = dedent(docstr) + ' ' + graphstr.replace('\n', '\n ')
docstr = dedent(docstr) + ' ' + graphstr.replace('\n', '\n ')

# colors are in dictionary at the bottom of transformations.py
from ..transformations import trans_to_color
Expand Down

0 comments on commit 89a46a8

Please sign in to comment.