|
| 1 | +``Axes`` methods and properties |
| 2 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 | + |
| 4 | +- ``axes.Axes.get_data_ratio_log`` |
| 5 | +- ``axes.SubplotBase.rowNum``; use ``ax.get_subplotspec().rowspan.start`` |
| 6 | + instead |
| 7 | +- ``axes.SubplotBase.colNum``; use ``ax.get_subplotspec().colspan.start`` |
| 8 | + instead |
| 9 | +- the *verts* parameter to ``scatter`` (use *marker* instead) |
| 10 | +- Passing more than one positional argument to `~matplotlib.axes.Axes.axis` |
| 11 | + will now raise an error. |
| 12 | +- Passing ``"range"`` to the *whis* parameter of `.Axes.boxplot` and |
| 13 | + `.cbook.boxplot_stats` to mean "the whole data range" is no longer |
| 14 | + supported. |
| 15 | +- Passing scalars to parameter *where* in `.axes.Axes.fill_between` and |
| 16 | + `.axes.Axes.fill_betweenx` is no longer accepted and non-matching sizes now |
| 17 | + raise a `ValueError`. |
| 18 | + |
| 19 | +``dates`` functions |
| 20 | +~~~~~~~~~~~~~~~~~~~ |
| 21 | +- ``dates.mx2num`` |
| 22 | + |
| 23 | +``quiver`` methods |
| 24 | +~~~~~~~~~~~~~~~~~~ |
| 25 | + |
| 26 | +- ``quiver.QuiverKey.quiverkey_doc`` has been removed; use |
| 27 | + ``quiver.QuiverKey.__init__.__doc__`` instead. |
| 28 | + |
| 29 | +Smart bounds |
| 30 | +~~~~~~~~~~~~ |
| 31 | + |
| 32 | +The "smart bounds" functionality on `~.axis.Axis` and `.Spine` has been |
| 33 | +deleted, and the following methods are removed: |
| 34 | + |
| 35 | +- ``Axis.set_smart_bounds`` and ``Axis.get_smart_bounds`` |
| 36 | +- ``Spine.set_smart_bounds`` and ``Spine.get_smart_bounds`` |
| 37 | + |
| 38 | +Testing |
| 39 | +~~~~~~~ |
| 40 | +The *switch_backend_warn* parameter to ``matplotlib.test`` has no effect and |
| 41 | +has been removed. |
| 42 | + |
| 43 | +``tight_layout()`` |
| 44 | +~~~~~~~~~~~~~~~~~~ |
| 45 | +The *renderer* parameter to `.Figure.tight_layout` has been removed; this |
| 46 | +method now always uses the renderer instance cached on the `.Figure`. |
| 47 | + |
| 48 | +``axes_grid1`` |
| 49 | +~~~~~~~~~~~~~~ |
| 50 | +The ``mpl_toolkits.axes_grid1.colorbar`` module and its colorbar implementation |
| 51 | +have been removed in favor of :mod:`matplotlib.colorbar`. Additionally: |
| 52 | + |
| 53 | +- The *locator* parameter to ``colorbar()`` has been removed in favor of its |
| 54 | + synonym *ticks* (which already existed previously, and is consistent with |
| 55 | + :mod:`matplotlib.colorbar`). |
| 56 | +- The ``mpl_toolkits.legacy_colorbar`` rcParam has no effect and also has been |
| 57 | + removed. |
0 commit comments