##// END OF EJS Templates
better doc
Matthias Bussonnier -
Show More
@@ -1156,7 +1156,9 b' class Video(DisplayObject):'
1156 @skip_doctest
1156 @skip_doctest
1157 def set_matplotlib_formats(*formats, **kwargs):
1157 def set_matplotlib_formats(*formats, **kwargs):
1158 """
1158 """
1159 DEPRECATED
1159 .. deprecated:: 7.23
1160
1161 use `matplotlib_inline.backend_inline.set_matplotlib_formats()`
1160
1162
1161 Select figure formats for the inline backend. Optionally pass quality for JPEG.
1163 Select figure formats for the inline backend. Optionally pass quality for JPEG.
1162
1164
@@ -1177,8 +1179,8 b' def set_matplotlib_formats(*formats, **kwargs):'
1177 Keyword args will be relayed to ``figure.canvas.print_figure``.
1179 Keyword args will be relayed to ``figure.canvas.print_figure``.
1178 """
1180 """
1179 warnings.warn(
1181 warnings.warn(
1180 "`set_matplotlib_formats` is deprecated, directly use "
1182 "`set_matplotlib_formats` is deprecated since IPython 7.23, directly "
1181 "`matplotlib_inline.backend_inline.set_matplotlib_formats()`",
1183 "use `matplotlib_inline.backend_inline.set_matplotlib_formats()`",
1182 DeprecationWarning,
1184 DeprecationWarning,
1183 stacklevel=2,
1185 stacklevel=2,
1184 )
1186 )
@@ -1192,7 +1194,10 b' def set_matplotlib_formats(*formats, **kwargs):'
1192 @skip_doctest
1194 @skip_doctest
1193 def set_matplotlib_close(close=True):
1195 def set_matplotlib_close(close=True):
1194 """
1196 """
1195 DEPRECATED
1197 .. deprecated:: 7.23
1198
1199 use `matplotlib_inline.backend_inline.set_matplotlib_close()`
1200
1196
1201
1197 Set whether the inline backend closes all figures automatically or not.
1202 Set whether the inline backend closes all figures automatically or not.
1198
1203
@@ -1215,8 +1220,8 b' def set_matplotlib_close(close=True):'
1215 run?
1220 run?
1216 """
1221 """
1217 warnings.warn(
1222 warnings.warn(
1218 "`set_matplotlib_close` is deprecated, directly use "
1223 "`set_matplotlib_close` is deprecated since IPython 7.23, directly "
1219 "`matplotlib_inline.backend_inline.set_matplotlib_close()`",
1224 "use `matplotlib_inline.backend_inline.set_matplotlib_close()`",
1220 DeprecationWarning,
1225 DeprecationWarning,
1221 stacklevel=2,
1226 stacklevel=2,
1222 )
1227 )
@@ -364,7 +364,9 b' def import_pylab(user_ns, import_all=True):'
364
364
365 def configure_inline_support(shell, backend):
365 def configure_inline_support(shell, backend):
366 """
366 """
367 DEPRECATED
367 .. deprecated: 7.23
368
369 use `matplotlib_inline.backend_inline.configure_inline_support()`
368
370
369 Configure an IPython shell object for matplotlib use.
371 Configure an IPython shell object for matplotlib use.
370
372
@@ -375,8 +377,8 b' def configure_inline_support(shell, backend):'
375 backend : matplotlib backend
377 backend : matplotlib backend
376 """
378 """
377 warnings.warn(
379 warnings.warn(
378 "`configure_inline_support` is deprecated, directly use "
380 "`configure_inline_support` is deprecated since IPython 7.23, directly "
379 "`matplotlib_inline.backend_inline.configure_inline_support()`",
381 "use `matplotlib_inline.backend_inline.configure_inline_support()`",
380 DeprecationWarning,
382 DeprecationWarning,
381 stacklevel=2,
383 stacklevel=2,
382 )
384 )
General Comments 0
You need to be logged in to leave comments. Login now