Skip to content

Commit 54e2875

Browse files
remove wrong change in other file
1 parent 8a5d143 commit 54e2875

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

pandas/plotting/_core.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -308,20 +308,10 @@ def _setup_subplots(self):
308308

309309
axes = _flatten(axes)
310310

311-
valid_log = [False, True, 'sym']
312-
for i in [self.logx, self.logy, self.loglog]:
313-
if i not in valid_log:
314-
raise ValueError("Wrong input for log option.")
315-
316-
if self.logx is True or self.loglog is True:
311+
if self.logx or self.loglog:
317312
[a.set_xscale('log') for a in axes]
318-
elif self.logx == 'sym' or self.loglog == 'sym':
319-
[a.set_xscale('symlog') for a in axes]
320-
321-
if self.logy is True or self.loglog is True:
313+
if self.logy or self.loglog:
322314
[a.set_yscale('log') for a in axes]
323-
elif self.logy == 'sym' or self.loglog == 'sym':
324-
[a.set_yscale('symlog') for a in axes]
325315

326316
self.fig = fig
327317
self.axes = axes

0 commit comments

Comments
 (0)