[MRG] fix: make the documentation of _get_loss_unbalanced as a raw string by framunoz · Pull Request #716 · PythonOT/POT
This is to avoid the following warning:
SyntaxWarning: invalid escape sequence '\m'
Types of changes
Add a r at the beggining of the _get_loss_unbalanced documentation
Motivation and context / Related issue
When I update the library, I realised that throws the following warning:
/home/.../site-packages/ot/unbalanced/_lbfgs.py:21: SyntaxWarning: invalid escape sequence '\m'
"""
How has this been tested (if it applies)
PR checklist
- I have read the CONTRIBUTING document.
- The documentation is up-to-date with the changes I made (check build artifacts).
- All tests passed, and additional code has been covered with new tests.
- I have added the PR and Issue fix to the RELEASES.md file.