Skip to content

Commit c1c1d7d

Browse files
Update docs-parts/definition/11-ERD_lang1.rst
Co-authored-by: Dimitri Yatsenko <[email protected]>
1 parent 15a628e commit c1c1d7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs-parts/definition/11-ERD_lang1.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ or alternatively an object that has the schema object as an attribute, such as t
1616
dj.Diagram(seq).draw() # draw the Diagram
1717
1818
Note that calling the ``.draw()`` method is not necessary when working in a Jupyter notebook.
19-
The preferred workflow is to simply let the object display itself, for example by writing ``dj.Diagram(seq)``.
20-
The Diagram will then render in the notebook using its ``_repr_html_`` method.
21-
An Diagram displayed without ``.draw()`` will be rendered as an SVG, and hovering the mouse over a table will reveal a compact version of the output of the ``.describe()`` method.
19+
You can simply let the object display itself, for example by entering ``dj.Diagram(seq)`` in a notebook cell.
20+
The Diagram will automatically render in the notebook by calling its ``_repr_html_`` method.
21+
A Diagram displayed without ``.draw()`` will be rendered as an SVG, and hovering the mouse over a table will reveal a compact version of the output of the ``.describe()`` method.

0 commit comments

Comments
 (0)