2

After some research in the matplotlib documentation I could not find the answer to my question so here it goes.

Is it possible to give the (relative or absolute) path to the matplotlibrc file I want to use? I have different configuration for different type of plot and I would like use them without copy/paste to the working directory each time...

Thank you!

1
  • 1
    This seems like a strange question to ask, as simply trying it out would have caused less work than asking this question. Commented Jan 17, 2018 at 8:02

1 Answer 1

2

The documentation states:

You can create custom styles and use them by calling style.use with the path or URL to the style sheet. Alternatively, if you add your .mplstyle file to mpl_configdir/stylelib, you can reuse your custom style sheet with a call to style.use().

So, yes, it is possible.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.