|
21 | 21 | from matplotlib.backend_bases import ( |
22 | 22 | _Backend, _check_savefig_extra_args, FigureCanvasBase, FigureManagerBase, |
23 | 23 | GraphicsContextBase, MouseButton, NavigationToolbar2, RendererBase, |
24 | | - StatusbarBase, TimerBase, ToolContainerBase, cursors) |
| 24 | + TimerBase, ToolContainerBase, cursors) |
25 | 25 |
|
26 | 26 | from matplotlib import _api, cbook, backend_tools |
27 | 27 | from matplotlib._pylab_helpers import Gcf |
@@ -1205,21 +1205,6 @@ def set_history_buttons(self): |
1205 | 1205 | self.EnableTool(self.wx_ids['Forward'], can_forward) |
1206 | 1206 |
|
1207 | 1207 |
|
1208 | | -@_api.deprecated("3.3") |
1209 | | -class StatusBarWx(wx.StatusBar): |
1210 | | - """ |
1211 | | - A status bar is added to _FigureFrame to allow measurements and the |
1212 | | - previously selected scroll function to be displayed as a user convenience. |
1213 | | - """ |
1214 | | - |
1215 | | - def __init__(self, parent, *args, **kwargs): |
1216 | | - super().__init__(parent, -1) |
1217 | | - self.SetFieldsCount(2) |
1218 | | - |
1219 | | - def set_function(self, string): |
1220 | | - self.SetStatusText("%s" % string, 1) |
1221 | | - |
1222 | | - |
1223 | 1208 | # tools for matplotlib.backend_managers.ToolManager: |
1224 | 1209 |
|
1225 | 1210 | class ToolbarWx(ToolContainerBase, wx.ToolBar): |
@@ -1307,19 +1292,6 @@ def set_message(self, s): |
1307 | 1292 | self._label_text.SetLabel(s) |
1308 | 1293 |
|
1309 | 1294 |
|
1310 | | -@_api.deprecated("3.3") |
1311 | | -class StatusbarWx(StatusbarBase, wx.StatusBar): |
1312 | | - """For use with ToolManager.""" |
1313 | | - def __init__(self, parent, *args, **kwargs): |
1314 | | - StatusbarBase.__init__(self, *args, **kwargs) |
1315 | | - wx.StatusBar.__init__(self, parent, -1) |
1316 | | - self.SetFieldsCount(1) |
1317 | | - self.SetStatusText("") |
1318 | | - |
1319 | | - def set_message(self, s): |
1320 | | - self.SetStatusText(s) |
1321 | | - |
1322 | | - |
1323 | 1295 | class ConfigureSubplotsWx(backend_tools.ConfigureSubplotsBase): |
1324 | 1296 | def trigger(self, *args): |
1325 | 1297 | NavigationToolbar2Wx.configure_subplots( |
|
0 commit comments