Skip to content

SyntaxWarning upon library import #1508

Description

I'm running Python 3.14.4 with the latest version of lets-plot (lets-plot==4.11.0).

Every time I import the library via from lets_plot import * I get the following SyntaxWarning:

<project_name>/.venv/lib/python3.14/site-packages/lets_plot/plot/annotation.py:592: SyntaxWarning: "(" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\("? A raw string is also an option.
.line(r'(R^2=)@..r2..')\

While I haven't faced any issues so far, it just seems to be an odd behavior to get upon library import.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions