Skip to content

[BUG]: plotly breaks warnings format #5472

@cfytrok

Description

@cfytrok

Description

Warning format changes globally after plot installation

Steps to reproduce

main.py:

import warnings
warnings.warn("test warning", UserWarning)

python main.py output:

main.py:2: UserWarning: test warning
  warnings.warn("test warning", UserWarning)

run pip install plotly==6.5.2

python main.py output:

main.py:2: UserWarning:

test warning

Python 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions