Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Don't crash when outputting an empty path object
Previously, applying `str` or `repr` to an object representing the path `<path d="">` would abort with an AttributeError because the bounding box is None, which does not support the `center` method. Now, we use (NaN, NaN) as the center of an empty path.
- Loading branch information