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.
This commit is contained in:
parent
51fbb395cc
commit
dca6628d1a
@ -4,7 +4,8 @@
|
||||
, enableGhostscript ? false, ghostscript ? null, gtk3
|
||||
, enableGtk2 ? false, pygtk ? null, gobjectIntrospection
|
||||
, enableGtk3 ? false, cairo
|
||||
, enableTk ? false, tcl ? null, tk ? null, tkinter ? null, libX11 ? null
|
||||
# darwin has its own "MacOSX" backend
|
||||
, enableTk ? !stdenv.isDarwin, tcl ? null, tk ? null, tkinter ? null, libX11 ? null
|
||||
, enableQt ? false, pyqt4
|
||||
, libcxx
|
||||
, Cocoa
|
||||
|
@ -4,7 +4,8 @@
|
||||
, enableGhostscript ? true, ghostscript ? null, gtk3
|
||||
, enableGtk2 ? false, pygtk ? null, gobjectIntrospection
|
||||
, enableGtk3 ? false, cairo
|
||||
, enableTk ? false, tcl ? null, tk ? null, tkinter ? null, libX11 ? null
|
||||
# darwin has its own "MacOSX" backend
|
||||
, enableTk ? !stdenv.isDarwin, tcl ? null, tk ? null, tkinter ? null, libX11 ? null
|
||||
, enableQt ? false, pyqt4
|
||||
, libcxx
|
||||
, Cocoa
|
||||
|
Loading…
Reference in New Issue
Block a user