r""" Plot the imaginary part of ``obj`` via :func:`oplot` with ``mode='I'``. .. deprecated:: 3.3 Use ``oplot(obj.imag, ...)`` instead. Emits ``FutureWarning``. Parameters ---------- obj : object See :func:`oplot`. *opt_list, **opt_dict Forwarded to :
(obj, *opt_list, **opt_dict)
| 112 | |
| 113 | |
| 114 | def oploti(obj, *opt_list, **opt_dict): |
| 115 | r""" |
| 116 | Plot the imaginary part of ``obj`` via :func:`oplot` with ``mode='I'``. |
| 117 | |
| 118 | .. deprecated:: 3.3 |
| 119 | Use ``oplot(obj.imag, ...)`` instead. Emits ``FutureWarning``. |
| 120 | |
| 121 | Parameters |
| 122 | ---------- |
| 123 | obj : object |
| 124 | See :func:`oplot`. |
| 125 | *opt_list, **opt_dict |
| 126 | Forwarded to :func:`oplot`. ``mode`` is overwritten with |
| 127 | ``'I'``. |
| 128 | """ |
| 129 | warnings.warn("oploti is deprecated, use oplot(G.imag, ...) instead", FutureWarning) |
| 130 | opt_dict['mode'] = 'I' |
| 131 | oplot(obj, *opt_list, **opt_dict) |
| 132 | |
| 133 | def __axoplot_impl(top, xlabel, ylabel, legend, obj, xticks, title, *opt_list, **opt_dict): |
| 134 | warnings.warn("ax.oplot is deprecated, use oplot(obj, axes=ax) instead", FutureWarning, stacklevel=2) |