Skip to content

Importing plotly.tools changes warnings.formatwarning as a side effect #3872

@SlaushVunter

Description

@SlaushVunter

Importing plotly.tools changes warnings.formatwarning as a side effect. Is this necessary? If not, it would be better to only do this when requested explicitely.

Example:

import warnings
print(warnings.formatwarning)
import plotly.tools
print(warnings.formatwarning)

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