-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Expire miscellaneous deprecations from 3.5 #24125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
Miscellaneous removals | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- ``is_url`` and ``URL_REGEX`` are removed. (They were previously defined in | ||
the toplevel :mod:`matplotlib` module.) | ||
- The ``ArrowStyle.beginarrow`` and ``ArrowStyle.endarrow`` attributes are | ||
removed; use the ``arrow`` attribute to define the desired heads and tails | ||
of the arrow. | ||
- ``backend_pgf.LatexManager.str_cache`` is removed. | ||
- ``backends.qt_compat.ETS`` and ``backends.qt_compat.QT_RC_MAJOR_VERSION`` are | ||
removed, with no replacement. | ||
- The ``blocking_input`` module is removed. Instead, use | ||
``canvas.start_event_loop()`` and ``canvas.stop_event_loop()`` while | ||
connecting event callbacks as needed. | ||
- ``cbook.report_memory`` is removed; use ``psutil.virtual_memory`` instead. | ||
- ``cm.LUTSIZE`` is removed. Use :rc:`image.lut` instead. This value only | ||
affects colormap quantization levels for default colormaps generated at | ||
module import time. | ||
- ``Colorbar.patch`` is removed; this attribute was not correctly updated | ||
anymore. | ||
- ``ContourLabeler.get_label_width`` is removed. | ||
- ``Dvi.baseline`` is removed (with no replacement). | ||
- The *format* parameter of ``dviread.find_tex_file`` is removed (with no | ||
replacement). | ||
- ``FancyArrowPatch.get_path_in_displaycoord`` and | ||
``ConnectionPath.get_path_in_displaycoord`` are removed. The path in | ||
display coordinates can still be obtained, as for other patches, using | ||
``patch.get_transform().transform_path(patch.get_path())``. | ||
- The ``font_manager.win32InstalledFonts`` and | ||
``font_manager.get_fontconfig_fonts`` helper functions are removed. | ||
- All parameters of ``imshow`` starting from *aspect* are keyword-only. | ||
- ``QuadMesh.convert_mesh_to_paths`` and ``QuadMesh.convert_mesh_to_triangles`` | ||
are removed. ``QuadMesh.get_paths()`` can be used as an alternative for the | ||
former; there is no replacement for the latter. | ||
- ``ScalarMappable.callbacksSM`` is removed. Use | ||
``ScalarMappable.callbacks`` instead. | ||
- ``streamplot.get_integrator`` is removed. | ||
- ``style.core.STYLE_FILE_PATTERN``, ``style.core.load_base_library``, and | ||
``style.core.iter_user_libraries`` are removed. | ||
- ``SubplotParams.validate`` is removed. Use `.SubplotParams.update` to | ||
change `.SubplotParams` while always keeping it in a valid state. | ||
- The ``grey_arrayd``, ``font_family``, ``font_families``, and ``font_info`` | ||
attributes of `.TexManager` are removed. | ||
- ``Text.get_prop_tup`` is removed with no replacements (because the `.Text` | ||
class cannot know whether a backend needs to update cache e.g. when the | ||
text's color changes). | ||
- ``Tick.apply_tickdir`` didn't actually update the tick markers on the | ||
existing Line2D objects used to draw the ticks and is removed; use | ||
`.Axis.set_tick_params` instead. | ||
- ``tight_layout.auto_adjust_subplotpars`` is removed. | ||
- The ``grid_info`` attribute of ``axisartist`` classes has been removed. | ||
- ``axes_grid1.axes_grid.CbarAxes`` and ``axisartist.axes_grid.CbarAxes`` are | ||
removed (they are now dynamically generated based on the owning axes | ||
class). | ||
- The ``axes_grid1.Divider.get_vsize_hsize`` and | ||
``axes_grid1.Grid.get_vsize_hsize`` methods are removed. | ||
- ``AxesDivider.append_axes(..., add_to_figure=False)`` is removed. Use | ||
``ax.remove()`` to remove the Axes from the figure if needed. | ||
- ``FixedAxisArtistHelper.change_tick_coord`` is removed with no | ||
replacement. | ||
- ``floating_axes.GridHelperCurveLinear.get_boundary`` is removed with no | ||
replacement. | ||
- ``ParasiteAxesBase.get_images_artists`` is removed. | ||
- The "units finalize" signal (previously emitted by Axis instances) is | ||
removed. Connect to "units" instead. | ||
- Passing formatting parameters positionally to ``stem()`` is no longer | ||
possible. | ||
- ``axisartist.clip_path`` is removed with no replacement. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10000
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.