earthkit icon indicating copy to clipboard operation
earthkit copied to clipboard

Figures using earthkit style even earthkit is not imported

Open rvalenzuelar opened this issue 6 months ago • 0 comments

What happened?

I have Earthkit installed in 2 environments. When using scripts that only import matplotlib or proplot, figures pickup Earthkit style in figures. Shifting to an environment that does not have Earthkit on it, the styles of matplotlib or proplot are mantained.

Earthkit was installed via pip. Environments are managed with micromamba.

What are the steps to reproduce the bug?

Create environment A and B with micromamba. Install Earthkit via pip in env A and only Matplotlib in env B. The env A will produce figures with Earthkit style despite Earthkit is not imported. Env B with no Earthkit installed will conserve matplotlib style.

Version

earthkit-plots 0.3.1 and 0.2.8, earthkit-plots-default-styles 0.1.0 and 0.0.1

Platform (OS and architecture)

MacOS Ventura 13.0 M2

Relevant log output


Accompanying data

No response

Organisation

No response

rvalenzuelar avatar Apr 25 '25 14:04 rvalenzuelar