You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By using fit_text() I have noticed an issue with text containing special chars like "580.9m↓-11.3m592.2m".
It causes exception, because self._break_line in layout.py/_wrap_lines returns None, which cannot be unpacked.
And it is seemed, it is not enough just to sanitize _wrap_lines from None result, as return lines=[] did not produce expected result from fit_text().
Also found out, that behavior is quite fuzzy, no exception happens if fit_text() has been executed for normal text in prior.
Also no expection happens, if change text like "580.9m ↓-11.3m592.2m" by adding space.
BR Denis
The text was updated successfully, but these errors were encountered:
Hello,
By using fit_text() I have noticed an issue with text containing special chars like "580.9m↓-11.3m592.2m".
It causes exception, because self._break_line in layout.py/_wrap_lines returns None, which cannot be unpacked.
And it is seemed, it is not enough just to sanitize _wrap_lines from None result, as return lines=[] did not produce expected result from fit_text().
Also found out, that behavior is quite fuzzy, no exception happens if fit_text() has been executed for normal text in prior.
Also no expection happens, if change text like "580.9m ↓-11.3m592.2m" by adding space.
BR Denis
The text was updated successfully, but these errors were encountered: