Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b3984 commit 9eafca6Copy full SHA for 9eafca6
lib/matplotlib/backends/backend_wx.py
@@ -656,17 +656,12 @@ def do_nothing(*args, **kwargs):
656
try:
657
getattr(self, 'SetInitialSize')
658
except AttributeError:
659
- self.SetInitialSize = getattr(
660
- self,
661
- 'SetBestFittingSize',
662
- do_nothing)
+ self.SetInitialSize = getattr(self, 'SetBestFittingSize',
+ do_nothing)
663
664
if not hasattr(self, 'IsShownOnScreen'):
665
- self.IsShownOnScreen = getattr(
666
667
- 'IsVisible',
668
- lambda *
669
- args: True)
+ self.IsShownOnScreen = getattr(self, 'IsVisible',
+ lambda * args: True)
670
671
# Create the drawing bitmap
672
self.bitmap = wxc.EmptyBitmap(w, h)
0 commit comments