Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved mpl style to optional file not imported by default #111

Closed
wants to merge 1 commit into from

Conversation

matpompili
Copy link

As of now, ARC forces a non-default matplotlib style when imported.
I moved the custom style to a non-automatically-imported file (arc.mpl_style), such that it can still be used if needed, but it does not override the style in projects using ARC.

@nikolasibalic
Copy link
Owner

This would break how things are showed now in many places. I would rather suggest that if default style is needed, the following two lines are added after ARC import to force default style.

from arc import *
import matplotlib as mpl
mpl.rcParams.update(mpl.rcParamsDefault)

@nikolasibalic nikolasibalic requested review from nikolasibalic and removed request for nikolasibalic August 23, 2022 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants