Missing f-string in logger warning
Open
- Dominant language
- Python
- Stars
- 305
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
In `chaco/axis.py`, `PlotAxis._compute_tick_positions()` the `logger.warning` message written `if datalow > datahigh` is using regular strings instead of f-strings, so the warning message is not formatted correctly.
It should be:
```python
if datalow > datahigh:
logger.warning(
f"{self.mapper} has an invalid data range with "
f"low={datalow} > high={datahigh}; unable to compute axis "
"ticks."
)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.