Skip to content

Commit 4417186

Browse files
committed
Fix tests.
1 parent fcfb7ee commit 4417186

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

downward/reports/scatter_matplotlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def _ensure_all_major_ticks_labeled(cls, axes):
120120
scale = axis.get_scale()
121121
if scale == "log":
122122
formatter = FuncFormatter(
123-
lambda x, pos: cls._format_log_value(x, show_power_of_10=True)
123+
lambda x, _pos: cls._format_log_value(x, show_power_of_10=True)
124124
)
125125
axis.set_major_formatter(formatter)
126126
elif scale == "linear":
@@ -139,7 +139,7 @@ def _add_minor_tick_labels(cls, axes):
139139
scale = axis.get_scale()
140140
if scale == "log":
141141
formatter = FuncFormatter(
142-
lambda x, pos: cls._format_log_value(x, show_power_of_10=False)
142+
lambda x, _pos: cls._format_log_value(x, show_power_of_10=False)
143143
)
144144
axis.set_minor_formatter(formatter)
145145
# Make minor tick labels smaller

0 commit comments

Comments
 (0)