diff --git a/doc/api/api_changes_3.3/deprecations.rst b/doc/api/api_changes_3.3/deprecations.rst index 54fb8fe63ee4..b3eda75a6b6a 100644 --- a/doc/api/api_changes_3.3/deprecations.rst +++ b/doc/api/api_changes_3.3/deprecations.rst @@ -424,6 +424,10 @@ or None is deprecated; set it to "horizontal" instead. Moreover, the two orientations ("horizontal" and "vertical") will become case-sensitive in the future. +`pyplot.plotting()` deprecated +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`pyplot.plotting()` is no-op function. It is now removed. + *minor* kwarg to `.Axis.get_ticklocs` will become keyword-only ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Passing this argument positionally is deprecated. diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index 27c8f03d27c3..2ea56557989f 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -1702,13 +1702,6 @@ def thetagrids(*args, **kwargs): return lines, labels -## Plotting Info ## - - -def plotting(): - pass - - def get_plot_commands(): """ Get a sorted list of all of the plotting commands. @@ -1718,7 +1711,7 @@ def get_plot_commands(): # functions, and anything marked as private with a preceding underscore. exclude = {'colormaps', 'colors', 'connect', 'disconnect', 'get_plot_commands', 'get_current_fig_manager', 'ginput', - 'plotting', 'waitforbuttonpress'} + 'waitforbuttonpress'} exclude |= set(colormaps()) this_module = inspect.getmodule(get_plot_commands) return sorted(