Commit Graph

7 Commits

Author SHA1 Message Date
Silvan Mosberger
06f883f7a0
Merge pull request #51344 from timokau/sagenb-matplotlib-fix
pythonPackages.matplotlib: enable tk backend by default
2019-03-29 18:17:13 +01:00
Frederik Rietdijk
4256099a33 matplotlib: fix pkgconfig situation
We need pkgs.pkgconfig, and not pythonPackages.pkgconfig.
2019-02-17 14:40:51 +01:00
Timo Kaufmann
56d92ba70c python.pkgs.matplotlib: add numpy 1.6 compat patch
Numpy deprecated asscalar in 1.16. This will be fixed in the next
matplotlib version, but to avoid deprecation warnings (and because they
are breaking the sage testsuite), it can't hurt to backport the fix
already.

Upstream: https://github.com/matplotlib/matplotlib/pull/12478
2019-02-11 21:39:21 +01:00
Frederik Rietdijk
63bcd07888 python: add isPy2 attribute to passthru
Some packages relied on it. For consistency, also introduce isPy3 (which
is the same as isPy3k).
2019-01-04 12:31:42 +01:00
Timo Kaufmann
dca6628d1a pythonPackages.matplotlib: enable tk backend by default
We currently do not build mathplotlib with any backend. This can be very
confusing for users. They will try to use matplotlib and it will simply
display nothing (see #51337). We should ship at least one backend. `tk`
was chosen somewhat arbitrarily. The gtk backend is problematic (see
https://github.com/NixOS/nixpkgs/issues/50959#issuecomment-441327767)
so tkinter seems like a good choice.

There is already a backend provided on darwin so there is no reason to
include tk there.
2018-12-03 21:07:59 +01:00
Jan Tojnar
a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00
Sebastien Maret
880fae6a08 matplotlib: 2.2.3 -> 3.0.2
Python 3 will use the new matplotlib 3.x while Python 2
will use 2.x.

matplotlib: keep 2.2.3 for Python2k
2018-11-11 10:14:25 +01:00