##// END OF EJS Templates
Docstring autoformatting....
Matthias Bussonnier -
Show More
@@ -656,7 +656,6 b' class GeoJSON(JSON):'
656
656
657 Examples
657 Examples
658 --------
658 --------
659
660 The following will display an interactive map of Mars with a point of
659 The following will display an interactive map of Mars with a point of
661 interest on frontend that do support GeoJSON display.
660 interest on frontend that do support GeoJSON display.
662
661
@@ -723,7 +722,7 b' class Javascript(TextDisplayObject):'
723 running the source code. The full URLs of the libraries should
722 running the source code. The full URLs of the libraries should
724 be given. A single Javascript library URL can also be given as a
723 be given. A single Javascript library URL can also be given as a
725 string.
724 string.
726 css: : list or str
725 css : list or str
727 A sequence of css files to load before running the source code.
726 A sequence of css files to load before running the source code.
728 The full URLs of the css files should be given. A single css URL
727 The full URLs of the css files should be given. A single css URL
729 can also be given as a string.
728 can also be given as a string.
@@ -851,7 +850,6 b' class Image(DisplayObject):'
851
850
852 Examples
851 Examples
853 --------
852 --------
854
855 embedded image data, works in qtconsole and notebook
853 embedded image data, works in qtconsole and notebook
856 when passed positionally, the first arg can be any of raw image data,
854 when passed positionally, the first arg can be any of raw image data,
857 a URL, or a filename from which to load image data.
855 a URL, or a filename from which to load image data.
@@ -871,6 +869,7 b' class Image(DisplayObject):'
871 This will not work in the qtconsole or offline.
869 This will not work in the qtconsole or offline.
872
870
873 >>> Image(url='http://www.google.fr/images/srpr/logo3w.png')
871 >>> Image(url='http://www.google.fr/images/srpr/logo3w.png')
872 <IPython.core.display.Image object>
874
873
875 """
874 """
876 if isinstance(data, (Path, PurePath)):
875 if isinstance(data, (Path, PurePath)):
@@ -1061,7 +1060,6 b' class Video(DisplayObject):'
1061 Local files can be displayed with URLs without embedding the content, via::
1060 Local files can be displayed with URLs without embedding the content, via::
1062
1061
1063 Video('./video.mp4')
1062 Video('./video.mp4')
1064
1065 mimetype: unicode
1063 mimetype : unicode
1066 Specify the mimetype for embedded videos.
1064 Specify the mimetype for embedded videos.
1067 Default will be guessed from file extension, if available.
1065 Default will be guessed from file extension, if available.
@@ -1079,7 +1077,6 b' class Video(DisplayObject):'
1079
1077
1080 Examples
1078 Examples
1081 --------
1079 --------
1082
1083 ::
1080 ::
1084
1081
1085 Video('https://archive.org/download/Sita_Sings_the_Blues/Sita_Sings_the_Blues_small.mp4')
1082 Video('https://archive.org/download/Sita_Sings_the_Blues/Sita_Sings_the_Blues_small.mp4')
@@ -1173,7 +1170,7 b' def set_matplotlib_formats(*formats, **kwargs):'
1173 ----------
1170 ----------
1174 *formats : strs
1171 *formats : strs
1175 One or more figure formats to enable: 'png', 'retina', 'jpeg', 'svg', 'pdf'.
1172 One or more figure formats to enable: 'png', 'retina', 'jpeg', 'svg', 'pdf'.
1176 **kwargs :
1173 **kwargs
1177 Keyword args will be relayed to ``figure.canvas.print_figure``.
1174 Keyword args will be relayed to ``figure.canvas.print_figure``.
1178 """
1175 """
1179 from IPython.core.interactiveshell import InteractiveShell
1176 from IPython.core.interactiveshell import InteractiveShell
General Comments 0
You need to be logged in to leave comments. Login now