Show More
@@ -186,6 +186,8 b' def display_latex(*objs, **kwargs):' | |||||
186 |
|
186 | |||
187 | def display_json(*objs, **kwargs): |
|
187 | def display_json(*objs, **kwargs): | |
188 | """Display the JSON representation of an object. |
|
188 | """Display the JSON representation of an object. | |
|
189 | ||||
|
190 | Note that not many frontends support displaying JSON. | |||
189 |
|
191 | |||
190 | Parameters |
|
192 | Parameters | |
191 | ---------- |
|
193 | ---------- |
@@ -20,7 +20,7 b' these are surrounded by single, not double underscores.' | |||||
20 |
|
20 | |||
21 | Both the notebook and the Qt console can display ``svg``, ``png`` and ``jpeg`` |
|
21 | Both the notebook and the Qt console can display ``svg``, ``png`` and ``jpeg`` | |
22 | representations. The notebook can also display ``html``, ``javascript``, |
|
22 | representations. The notebook can also display ``html``, ``javascript``, | |
23 |
|
|
23 | and ``latex``. If the methods don't exist, or return ``None``, it falls | |
24 | back to a standard ``repr()``. |
|
24 | back to a standard ``repr()``. | |
25 |
|
25 | |||
26 | For example:: |
|
26 | For example:: |
General Comments 0
You need to be logged in to leave comments.
Login now