Thanks to visit codestin.com
Credit goes to github.com

Skip to content

importing ffn is changing matplotlib settings #205

@nkonts

Description

@nkonts

Is your feature request related to a problem? Please describe.
I find it highly unintuitive that importing ffn is overwriting the currently set matplotlib style by the user.

Describe the solution you'd like
I would suggest to remove the try-except block in ffn/core.py following line 23:

try:
    import seaborn as sns

    sns.set(style="ticks", palette="Set2")
except ImportError:
    pass

Instead, if the user wants to change any matplotlib settings, it should be the user doing it consciously and not be influenced by the order of importing.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions