Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9eafca6

Browse files
committed
fix line splitting
1 parent 33b3984 commit 9eafca6

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

lib/matplotlib/backends/backend_wx.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -656,17 +656,12 @@ def do_nothing(*args, **kwargs):
656656
try:
657657
getattr(self, 'SetInitialSize')
658658
except AttributeError:
659-
self.SetInitialSize = getattr(
660-
self,
661-
'SetBestFittingSize',
662-
do_nothing)
659+
self.SetInitialSize = getattr(self, 'SetBestFittingSize',
660+
do_nothing)
663661

664662
if not hasattr(self, 'IsShownOnScreen'):
665-
self.IsShownOnScreen = getattr(
666-
self,
667-
'IsVisible',
668-
lambda *
669-
args: True)
663+
self.IsShownOnScreen = getattr(self, 'IsVisible',
664+
lambda * args: True)
670665

671666
# Create the drawing bitmap
672667
self.bitmap = wxc.EmptyBitmap(w, h)

0 commit comments

Comments
 (0)