Skip to content

Commit e968c7b

Browse files
author
Lukas Müller
committed
Small code cleanup for lint
1 parent 61707db commit e968c7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tikzplotlib/axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ def __init__(self, data, obj):
6666
self.axis_options.append(("xmin=" + ff + ", xmax=" + ff).format(*sorted(xlim)))
6767
self.axis_options.append(("ymin=" + ff + ", ymax=" + ff).format(*sorted(ylim)))
6868
# When the axis is inverted add additional option
69-
if (xlim != sorted(xlim)):
69+
if xlim != sorted(xlim):
7070
self.axis_options.append("x dir=reverse")
71-
if (ylim != sorted(ylim)):
71+
if ylim != sorted(ylim):
7272
self.axis_options.append("y dir=reverse")
7373

7474
# axes scaling

0 commit comments

Comments
 (0)