16

While updating my packages I've noticed that there is a package named "matplotlib-base". I couldn't figure out what the difference to "matplotlib" is, neither on the official website nor here on Stack Overflow, and I also couldn't find any repository to compare the code. Any ideas?

matplotlib / matplotlib-base

3
  • 4
    difference is in the dependencies: matplotlib-base does not depend on the qt stack and is thus much lighter. It allows other packages to depend on matplotlib via matplot-base, without forcing users to also install the qt stack in their environment Commented Apr 20, 2020 at 15:24
  • 1
    I see, that's good to know, thanks @cel! Commented Apr 20, 2020 at 15:26
  • 2
    Just found the reference for that: conda-forge.org/docs/maintainer/knowledge_base.html#matplotlib Commented Apr 20, 2020 at 15:27

1 Answer 1

18

The packages are similar, but differ in their dependencies: matplotlib depends on matplotlib-base and pyqt. Therefore installing matplotlib will also pull in the qt stack, while installing matplotlib-base does not. Users that do not need qt backends and prefer a slim installation will prefer matplotlib-base over matplotlib.

See also: https://conda-forge.org/docs/maintainer/knowledge_base.html#matplotlib

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.