Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between matplotlib and matplotlib-base?

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

like image 984
Andreas Avatar asked Apr 20 '20 15:04

Andreas


People also ask

When should I use matplotlib?

It provides a user to visualize data using a variety of different types of plots to make data understandable. You can use, these different types of plots (scatterplots, histograms, bar charts, errorcharts, boxplots, etc.) by writing few lines of code in python.

What is a backend matplotlib?

Matplotlib is a plotting library. It relies on some backend to actually render the plots. The default backend is the agg backend. This backend only renders PNGs.

Can you use matplotlib in terminal?

The best use of Matplotlib differs depending on how you are using it; roughly, the three applicable contexts are using Matplotlib in a script, in an IPython terminal, or in an IPython notebook.


1 Answers

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

like image 53
cel Avatar answered Sep 19 '22 21:09

cel