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 @@ -85,3 +85,8 @@ Not used internally and not part of core mission of mpl.
85
85
Remove ``mlab.prepca ``
86
86
----------------------
87
87
Deprecated in 2009.
88
+
89
+
90
+ Remove ``NavigationToolbar2QTAgg ``
91
+ ----------------------------------
92
+ Added no functionality over the base ``NavigationToolbar2Qt ``
Original file line number Diff line number Diff line change 14
14
import matplotlib
15
15
from matplotlib .figure import Figure
16
16
17
- from . backend_qt5agg import NavigationToolbar2QTAgg
17
+
18
18
from .backend_qt5agg import FigureCanvasQTAggBase
19
19
20
20
from .backend_agg import FigureCanvasAgg
27
27
from .backend_qt4 import draw_if_interactive
28
28
from .backend_qt4 import backend_version
29
29
######
30
- from matplotlib .cbook import mplDeprecation
31
30
32
31
DEBUG = False
33
32
Original file line number Diff line number Diff line change 6
6
7
7
import six
8
8
9
- import os # not used
10
9
import sys
11
10
import ctypes
12
- import warnings
13
11
14
- import matplotlib
15
12
from matplotlib .figure import Figure
16
13
17
14
from .backend_agg import FigureCanvasAgg
28
25
######
29
26
30
27
31
- from matplotlib .cbook import mplDeprecation
32
-
33
28
DEBUG = False
34
29
35
30
_decref = ctypes .pythonapi .Py_DecRef
@@ -201,15 +196,5 @@ def __init__(self, figure):
201
196
self ._priv_update = self .update
202
197
203
198
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
-
214
199
FigureCanvas = FigureCanvasQTAgg
215
200
FigureManager = FigureManagerQT
You can’t perform that action at this time.
0 commit comments