JetBrains / lets-plot

Multiplatform plotting library based on the Grammar of Graphics
https://lets-plot.org
MIT License
1.55k stars 49 forks source link

Fix SyntaxWarning in annotation.py by escaping \ #1154

Closed MSch closed 1 month ago

MSch commented 1 month ago

Fixes the following SyntaxWarning in Python 3.12:

lets_plot/plot/annotation.py:148: SyntaxWarning: invalid escape sequence '\^'
  """
ASmirnov-HORIS commented 1 month ago

Thank you for reporting this bug! We have slightly modified your fix because of Sphinx.

MSch commented 1 month ago

Thank you very much for the quick turnaround!