question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DOC matplotlib versus matplotlib-base

See original GitHub issue

We recently ran into this with pystan: https://github.com/conda-forge/pystan-feedstock/pull/27

Apparently, it is sometimes preferable to depend only on matplotlib-base. We might want to add a section to the special dependencies describing when and why.

@maresb has more details I think

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:54 (51 by maintainers)

github_iconTop GitHub Comments

1reaction
beckermrcommented, Dec 6, 2019

Alright. It appears we are again blocked on where we think X11 should live in the stack. This is again a case where some sort of virtual package could be useful. It could detect if the user has X11 available locally and then we can have variants of packages that depend on x11 that get selected depending on this fact. However this work is well beyond the scope here and probably needs more discussion.

In the mean time, I think simply forcing the Agg backend via an env var in the CI is the simplest solution and will help solve the big qt package dependence issue as well.

What do you think @dopplershift?

1reaction
jjhelmuscommented, Dec 6, 2019

was there discussion about python’s tk dependence?

Python depends on tk because it needs to build the tkinter package in the standard library, similar to the dependency on sqlite needed for the sqlite3 package in the standard library.

There has been some discussion on the tk packages dependency on the system X11 and if this should be changed. A good starting point is conda-forge/tk-feedstock#17

Read more comments on GitHub >

github_iconTop Results From Across the Web

Differences between matplotlib and matplotlib-base?
The packages are similar, but differ in their dependencies: matplotlib depends on matplotlib-base and pyqt . Therefore installing matplotlib ...
Read more >
Matplotlib — Visualization with Python
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations ... Be sure to check the Users guide and the API...
Read more >
Users guide — Matplotlib 3.6.2 documentation
How-to and troubleshooting · How-to · Troubleshooting · Environment variables · External resources · Books, chapters and articles · Videos · Tutorials ...
Read more >
Quick start guide — Matplotlib 3.6.2 documentation
This tutorial covers some basic usage patterns and best practices to help ... Matplotlib's documentation and examples use both the OO and the...
Read more >
Matplotlib 3.6.2 documentation
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. Installation#. Install using pip: pip install ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found