|
| 1 | +Miscellaneous removals |
| 2 | +~~~~~~~~~~~~~~~~~~~~~~ |
| 3 | + |
| 4 | +- ``is_url`` and ``URL_REGEX`` are removed. (They were previously defined in |
| 5 | + the toplevel :mod:`matplotlib` module.) |
| 6 | +- The ``ArrowStyle.beginarrow`` and ``ArrowStyle.endarrow`` attributes are |
| 7 | + removed; use the ``arrow`` attribute to define the desired heads and tails |
| 8 | + of the arrow. |
| 9 | +- ``backend_pgf.LatexManager.str_cache`` is removed. |
| 10 | +- ``backends.qt_compat.ETS`` and ``backends.qt_compat.QT_RC_MAJOR_VERSION`` are |
| 11 | + removed, with no replacement. |
| 12 | +- The ``blocking_input`` module is removed. Instead, use |
| 13 | + ``canvas.start_event_loop()`` and ``canvas.stop_event_loop()`` while |
| 14 | + connecting event callbacks as needed. |
| 15 | +- ``cbook.report_memory`` is removed; use ``psutil.virtual_memory`` instead. |
| 16 | +- ``cm.LUTSIZE`` is removed. Use :rc:`image.lut` instead. This value only |
| 17 | + affects colormap quantization levels for default colormaps generated at |
| 18 | + module import time. |
| 19 | +- ``Colorbar.patch`` is removed; this attribute was not correctly updated |
| 20 | + anymore. |
| 21 | +- ``ContourLabeler.get_label_width`` is removed. |
| 22 | +- ``Dvi.baseline`` is removed (with no replacement). |
| 23 | +- The *format* parameter of ``dviread.find_tex_file`` is removed (with no |
| 24 | + replacement). |
| 25 | +- ``FancyArrowPatch.get_path_in_displaycoord`` and |
| 26 | + ``ConnectionPath.get_path_in_displaycoord`` are removed. The path in |
| 27 | + display coordinates can still be obtained, as for other patches, using |
| 28 | + ``patch.get_transform().transform_path(patch.get_path())``. |
| 29 | +- The ``font_manager.win32InstalledFonts`` and |
| 30 | + ``font_manager.get_fontconfig_fonts`` helper functions are removed. |
| 31 | +- All parameters of ``imshow`` starting from *aspect* are keyword-only. |
| 32 | +- ``QuadMesh.convert_mesh_to_paths`` and ``QuadMesh.convert_mesh_to_triangles`` |
| 33 | + are removed. ``QuadMesh.get_paths()`` can be used as an alternative for the |
| 34 | + former; there is no replacement for the latter. |
| 35 | +- ``ScalarMappable.callbacksSM`` is removed. Use |
| 36 | + ``ScalarMappable.callbacks`` instead. |
| 37 | +- ``streamplot.get_integrator`` is removed. |
| 38 | +- ``style.core.STYLE_FILE_PATTERN``, ``style.core.load_base_library``, and |
| 39 | + ``style.core.iter_user_libraries`` are removed. |
| 40 | +- ``SubplotParams.validate`` is removed. Use `.SubplotParams.update` to |
| 41 | + change `.SubplotParams` while always keeping it in a valid state. |
| 42 | +- The ``grey_arrayd``, ``font_family``, ``font_families``, and ``font_info`` |
| 43 | + attributes of `.TexManager` are removed. |
| 44 | +- ``Text.get_prop_tup`` is removed with no replacements (because the `.Text` |
| 45 | + class cannot know whether a backend needs to update cache e.g. when the |
| 46 | + text's color changes). |
| 47 | +- ``Tick.apply_tickdir`` didn't actually update the tick markers on the |
| 48 | + existing Line2D objects used to draw the ticks and is removed; use |
| 49 | + `.Axis.set_tick_params` instead. |
| 50 | +- ``tight_layout.auto_adjust_subplotpars`` is removed. |
| 51 | +- The ``grid_info`` attribute of ``axisartist`` classes has been removed. |
| 52 | +- ``axes_grid1.axes_grid.CbarAxes`` and ``axisartist.axes_grid.CbarAxes`` are |
| 53 | + removed (they are now dynamically generated based on the owning axes |
| 54 | + class). |
| 55 | +- The ``axes_grid1.Divider.get_vsize_hsize`` and |
| 56 | + ``axes_grid1.Grid.get_vsize_hsize`` methods are removed. |
| 57 | +- ``AxesDivider.append_axes(..., add_to_figure=False)`` is removed. Use |
| 58 | + ``ax.remove()`` to remove the Axes from the figure if needed. |
| 59 | +- ``FixedAxisArtistHelper.change_tick_coord`` is removed with no |
| 60 | + replacement. |
| 61 | +- ``floating_axes.GridHelperCurveLinear.get_boundary`` is removed with no |
| 62 | + replacement. |
| 63 | +- ``ParasiteAxesBase.get_images_artists`` is removed. |
| 64 | +- The "units finalize" signal (previously emitted by Axis instances) is |
| 65 | + removed. Connect to "units" instead. |
| 66 | +- Passing formatting parameters positionally to ``stem()`` is no longer |
| 67 | + possible. |
| 68 | +- ``axisartist.clip_path`` is removed with no replacement. |
0 commit comments