Show More
@@ -257,7 +257,7 b' def display(*objs, include=None, exclude=None, metadata=None, transient=None, di' | |||||
257 | - `_repr_json_`: return a JSONable dict |
|
257 | - `_repr_json_`: return a JSONable dict | |
258 | - `_repr_jpeg_`: return raw JPEG data |
|
258 | - `_repr_jpeg_`: return raw JPEG data | |
259 | - `_repr_png_`: return raw PNG data |
|
259 | - `_repr_png_`: return raw PNG data | |
260 |
- `_repr_gif_`: return raw |
|
260 | - `_repr_gif_`: return raw GIF data | |
261 | - `_repr_svg_`: return raw SVG data as a string |
|
261 | - `_repr_svg_`: return raw SVG data as a string | |
262 | - `_repr_latex_`: return LaTeX commands in a string surrounded by "$". |
|
262 | - `_repr_latex_`: return LaTeX commands in a string surrounded by "$". | |
263 | - `_repr_mimebundle_`: return a full mimebundle containing the mapping |
|
263 | - `_repr_mimebundle_`: return a full mimebundle containing the mapping | |
@@ -945,7 +945,7 b' class Javascript(TextDisplayObject):' | |||||
945 | raise TypeError('expected sequence, got: %r' % css) |
|
945 | raise TypeError('expected sequence, got: %r' % css) | |
946 | self.lib = lib |
|
946 | self.lib = lib | |
947 | self.css = css |
|
947 | self.css = css | |
948 |
super |
|
948 | super(Javascript, self).__init__(data=data, url=url, filename=filename) | |
949 |
|
949 | |||
950 | def _repr_javascript_(self): |
|
950 | def _repr_javascript_(self): | |
951 | r = '' |
|
951 | r = '' |
General Comments 0
You need to be logged in to leave comments.
Login now