| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2484,8 +2484,7 @@ def tick_values(self, vmin, vmax): | |||
| 2484 | 2484 | vmin = self.axis.get_minpos() | |
| 2485 | 2485 | ||
| 2486 | 2486 | if vmin <= 0.0 or not np.isfinite(vmin): | |
| 2487 | - raise ValueError( | ||
| 2488 | - "Data has no positive values, and therefore cannot be log-scaled.") | ||
| 2487 | + raise ValueError("Data cannot be log-scaled because all values are <= 0.") | ||
| 2489 | 2488 | ||
| 2490 | 2489 | if vmax < vmin: | |
| 2491 | 2490 | vmin, vmax = vmax, vmin | |
| Back | FazBrowse Home | New Git URL |
0 commit comments