Show More
@@ -1156,7 +1156,9 b' class Video(DisplayObject):' | |||
|
1156 | 1156 | @skip_doctest |
|
1157 | 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 | 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 | 1179 | Keyword args will be relayed to ``figure.canvas.print_figure``. |
|
1178 | 1180 | """ |
|
1179 | 1181 | warnings.warn( |
|
1180 |
"`set_matplotlib_formats` is deprecated, directly |
|
|
1181 | "`matplotlib_inline.backend_inline.set_matplotlib_formats()`", | |
|
1182 | "`set_matplotlib_formats` is deprecated since IPython 7.23, directly " | |
|
1183 | "use `matplotlib_inline.backend_inline.set_matplotlib_formats()`", | |
|
1182 | 1184 | DeprecationWarning, |
|
1183 | 1185 | stacklevel=2, |
|
1184 | 1186 | ) |
@@ -1192,7 +1194,10 b' def set_matplotlib_formats(*formats, **kwargs):' | |||
|
1192 | 1194 | @skip_doctest |
|
1193 | 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 | 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 | 1220 | run? |
|
1216 | 1221 | """ |
|
1217 | 1222 | warnings.warn( |
|
1218 |
"`set_matplotlib_close` is deprecated, directly |
|
|
1219 | "`matplotlib_inline.backend_inline.set_matplotlib_close()`", | |
|
1223 | "`set_matplotlib_close` is deprecated since IPython 7.23, directly " | |
|
1224 | "use `matplotlib_inline.backend_inline.set_matplotlib_close()`", | |
|
1220 | 1225 | DeprecationWarning, |
|
1221 | 1226 | stacklevel=2, |
|
1222 | 1227 | ) |
@@ -364,7 +364,9 b' def import_pylab(user_ns, import_all=True):' | |||
|
364 | 364 | |
|
365 | 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 | 371 | Configure an IPython shell object for matplotlib use. |
|
370 | 372 | |
@@ -375,8 +377,8 b' def configure_inline_support(shell, backend):' | |||
|
375 | 377 | backend : matplotlib backend |
|
376 | 378 | """ |
|
377 | 379 | warnings.warn( |
|
378 |
"`configure_inline_support` is deprecated, directly |
|
|
379 | "`matplotlib_inline.backend_inline.configure_inline_support()`", | |
|
380 | "`configure_inline_support` is deprecated since IPython 7.23, directly " | |
|
381 | "use `matplotlib_inline.backend_inline.configure_inline_support()`", | |
|
380 | 382 | DeprecationWarning, |
|
381 | 383 | stacklevel=2, |
|
382 | 384 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now