Skip to content

SyntaxWarning: invalid escape sequence #685

@ctberthiaume

Description

@ctberthiaume

Using Python 3.13.1 and hdbscan v0.8.40, I see these warnings when importing hdbscan.

Python 3.13.1 (main, Jan  5 2025, 05:33:47) [Clang 19.1.6 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hdbscan
/home/user/testdbscan/.venv/lib/python3.13/site-packages/hdbscan/plots.py:448: SyntaxWarning: invalid escape sequence '\l'
  axis.set_ylabel('$\lambda$ value')
/home/user/testdbscan/.venv/lib/python3.13/site-packages/hdbscan/robust_single_linkage_.py:154: SyntaxWarning: invalid escape sequence '\{'
  """Perform robust single linkage clustering from a vector array
>>> 

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