|
| 1 | +Case-insensitive properties |
| 2 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 | +Upper or mixed-case property names are no longer normalized to lowercase in |
| 4 | +`.Artist.set` and `.Artist.update`. This allows one to pass names such as |
| 5 | +*patchA* or *UVC*. |
| 6 | + |
| 7 | +Case-insensitive capstyles and joinstyles |
| 8 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 9 | +Please pass capstyles ("miter", "round", "bevel") and joinstyles ("butt", |
| 10 | +"round", "projecting") as lowercase. |
| 11 | + |
| 12 | +AVConv animation writers removed |
| 13 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 14 | +The ``AVConvBase``, ``AVConvWriter`` and ``AVConvFileWriter`` classes, and the |
| 15 | +associated ``animation.avconv_path`` and ``animation.avconv_args`` rcParams |
| 16 | +have been removed. |
| 17 | + |
| 18 | +Debian 8 (2015, EOL 06/2020) and Ubuntu 14.04 (EOL 04/2019) were the |
| 19 | +last versions of Debian and Ubuntu to ship avconv. It remains possible |
| 20 | +to force the use of avconv by using the FFmpeg-based writers with |
| 21 | +:rc:`animation.ffmpeg_path` set to "avconv". |
| 22 | + |
| 23 | +``MovieWriter`` attributes |
| 24 | +~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 25 | +* ``animation.html_args`` rcParam |
| 26 | +* ``HTMLWriter.args_key`` attribute |
| 27 | +* ``MovieWriter.args_key`` and ``MovieWriter.exec_key`` attributes |
| 28 | +* *clear_temp* parameter and attribute of `.FileMovieWriter`; files placed in a |
| 29 | + temporary directory (using ``frame_prefix=None``, the default) will be |
| 30 | + cleared; files placed elsewhere will not. |
| 31 | + |
| 32 | +Artist-specific removals |
| 33 | +~~~~~~~~~~~~~~~~~~~~~~~~ |
| 34 | +* Setting a custom method overriding `.Artist.contains` using |
| 35 | + ``Artist.set_contains`` has been removed, as has ``Artist.get_contains``. |
| 36 | + There is no replacement, but you may still customize pick events using |
| 37 | + `.Artist.set_picker`. |
| 38 | +* Passing the dash offset as ``None`` is no longer accepted, as this was never |
| 39 | + universally implemented, e.g. for vector output. Set the offset to 0 instead. |
| 40 | +* The parameter *props* of `.Shadow` has been removed. Use keyword arguments |
| 41 | + instead. |
| 42 | +* Arbitrary keyword arguments to ``StreamplotSet`` have no effect and have been |
| 43 | + removed. |
| 44 | +* ``NonUniformImage.is_grayscale`` and ``PcolorImage.is_grayscale`` attributes |
| 45 | + have been removed, for consistency with ``AxesImage.is_grayscale``. (Note |
| 46 | + that previously, these attributes were only available *after rendering the |
| 47 | + image*). |
| 48 | + |
| 49 | +Path helpers |
| 50 | +~~~~~~~~~~~~ |
| 51 | +* ``bezier.make_path_regular``; use ``Path.cleaned()`` (or |
| 52 | + ``Path.cleaned(curves=True)``, etc.) instead, but note that these methods add |
| 53 | + a ``STOP`` code at the end of the path. |
| 54 | +* ``bezier.concatenate_paths``; use ``Path.make_compound_path()`` instead. |
| 55 | +* *quantize* parameter of `.Path.cleaned()` |
| 56 | + |
| 57 | +``BboxBase.inverse_transformed`` |
| 58 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 59 | + |
| 60 | +``.BboxBase.inverse_transformed`` has been removed (call `.BboxBase.transformed` |
| 61 | +on the `~.Transform.inverted()` transform instead). |
| 62 | + |
| 63 | +``matplotlib.test(recursionlimit=...)`` |
| 64 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 65 | +The *recursionlimit* parameter of `matplotlib.test` has been removed. |
| 66 | + |
| 67 | +``testing.compare.make_external_conversion_command`` |
| 68 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 69 | +... has been removed. |
| 70 | + |
| 71 | +``docstring.Substitution.from_params`` |
| 72 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 73 | +This method has been removed. If needed, directly assign to the ``params`` |
| 74 | +attribute of the Substitution object. |
| 75 | + |
| 76 | +``widgets.TextBox.params_to_disable`` |
| 77 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 78 | +This attribute has been removed. |
| 79 | + |
| 80 | +`.widgets.SubplotTool` callbacks and axes |
| 81 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 82 | +The ``funcleft``, ``funcright``, ``funcbottom``, ``functop``, ``funcwspace``, |
| 83 | +and ``funchspace`` methods of `.widgets.SubplotTool` have been removed. |
| 84 | + |
| 85 | +The ``axleft``, ``axright``, ``axbottom``, ``axtop``, ``axwspace``, and |
| 86 | +``axhspace`` attributes of `.widgets.SubplotTool` have been removed. Access |
| 87 | +the ``ax`` attribute of the corresponding slider, if needed. |
| 88 | + |
| 89 | +Variants on ``ToolManager.update_keymap`` calls |
| 90 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 91 | +Passing multiple keys as a single comma-separated string or multiple arguments |
| 92 | +to `.ToolManager.update_keymap` is no longer supported; pass keys as a list of |
| 93 | +strings instead. |
0 commit comments