Skip to content

Commit e54425d

Browse files
authored
Fix: format error message to satisfy line length rule
1 parent d2d77e9 commit e54425d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/ticker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,8 @@ def tick_values(self, vmin, vmax):
24842484
vmin = self.axis.get_minpos()
24852485

24862486
if vmin <= 0.0 or not np.isfinite(vmin):
2487-
raise ValueError("Data cannot be log-scaled because all values are <= 0.")
2487+
raise ValueError(
2488+
"Data cannot be log-scaled because all values are <= 0.")
24882489

24892490
if vmax < vmin:
24902491
vmin, vmax = vmax, vmin

0 commit comments

Comments
 (0)