File tree Expand file tree Collapse file tree 3 files changed +6
-17
lines changed
Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -73,3 +73,8 @@ Not used internally and not part of core mission of mpl.
7373Remove ``mlab.prepca ``
7474----------------------
7575Deprecated in 2009.
76+
77+
78+ Remove ``NavigationToolbar2QTAgg ``
79+ ----------------------------------
80+ Added no functionality over the base ``NavigationToolbar2Qt ``
Original file line number Diff line number Diff line change 1414import matplotlib
1515from matplotlib .figure import Figure
1616
17- from . backend_qt5agg import NavigationToolbar2QTAgg
17+
1818from .backend_qt5agg import FigureCanvasQTAggBase
1919
2020from .backend_agg import FigureCanvasAgg
2727from .backend_qt4 import draw_if_interactive
2828from .backend_qt4 import backend_version
2929######
30- from matplotlib .cbook import mplDeprecation
3130
3231DEBUG = False
3332
Original file line number Diff line number Diff line change 66
77import six
88
9- import os # not used
109import sys
1110import ctypes
12- import warnings
1311
14- import matplotlib
1512from matplotlib .figure import Figure
1613
1714from .backend_agg import FigureCanvasAgg
2825######
2926
3027
31- from matplotlib .cbook import mplDeprecation
32-
3328DEBUG = False
3429
3530_decref = ctypes .pythonapi .Py_DecRef
@@ -201,15 +196,5 @@ def __init__(self, figure):
201196 self ._priv_update = self .update
202197
203198
204- class NavigationToolbar2QTAgg (NavigationToolbar2QT ):
205- def __init__ (* args , ** kwargs ):
206- warnings .warn ('This class has been deprecated in 1.4 ' +
207- 'as it has no additional functionality over ' +
208- '`NavigationToolbar2QT`. Please change your code to '
209- 'use `NavigationToolbar2QT` instead' ,
210- mplDeprecation )
211- NavigationToolbar2QT .__init__ (* args , ** kwargs )
212-
213-
214199FigureCanvas = FigureCanvasQTAgg
215200FigureManager = FigureManagerQT
You can’t perform that action at this time.
0 commit comments