Skip to content

[BUG]: plotly breaks warnings format #5472

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)]

Activity

  1. robertclaus commented on Jan 28, 2026

    @robertclaus

    @cfytrok this is a good catch. Our team likely won't get around to a fix immediately, but would be excited for a community contribution in this space. Please feel free to open a PR with a suggested fix!

  2. added a commit that references this issue on Feb 14, 2026
    67f40b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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