Skip to content

import earthkit.plots modifies plt rcParams #83

@Oisin-M

Description

@Oisin-M

What happened?

Not sure if this is intended or unintended, so I am opening an issue to discuss @JamesVarndell . This is related to ecmwf/earthkit#116. We have the behaviour that when one does import earthkit.plots, it modifies matplotlib's style.

From what I see, the specific offending import is

from earthkit.plots.schemas import schema

which updates plt rcParams

What are the steps to reproduce the bug?

Version

0.3.2

Platform (OS and architecture)

Relevant log output

Accompanying data

No response

Organisation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions