File tree 2 files changed +10
-3
lines changed 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change
1
+ Deprecations
2
+ ````````````
3
+
4
+ The (unused and always None) ``NavigationToolbar2QT.adj_window `` attribute is
5
+ deprecated.
Original file line number Diff line number Diff line change @@ -724,9 +724,6 @@ def _init_toolbar(self):
724
724
labelAction = self .addWidget (self .locLabel )
725
725
labelAction .setVisible (True )
726
726
727
- # reference holder for subplots_adjust window
728
- self .adj_window = None
729
-
730
727
# Esthetic adjustments - we need to set these explicitly in PyQt5
731
728
# otherwise the layout looks different - but we don't want to set it if
732
729
# not using HiDPI icons otherwise they look worse than before.
@@ -739,6 +736,11 @@ def _init_toolbar(self):
739
736
def buttons (self ):
740
737
return {}
741
738
739
+ @cbook .deprecated ("3.1" )
740
+ @property
741
+ def adj_window (self ):
742
+ return None
743
+
742
744
if is_pyqt5 ():
743
745
# For some reason, self.setMinimumHeight doesn't seem to carry over to
744
746
# the actual sizeHint, so override it instead in order to make the
You can’t perform that action at this time.
0 commit comments