From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: split up python-pyqt or python-matplotlib? Date: Mon, 19 Mar 2018 23:41:19 +0100 Message-ID: References: <87y3iociak.fsf@elephly.net> <874llcuhrp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ey3T4-0007oT-VY for guix-devel@gnu.org; Mon, 19 Mar 2018 18:41:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ey3T1-0004SV-Pw for guix-devel@gnu.org; Mon, 19 Mar 2018 18:41:26 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:54283) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ey3T1-0004RX-If for guix-devel@gnu.org; Mon, 19 Mar 2018 18:41:23 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 404rdY16VZz1qqkl for ; Mon, 19 Mar 2018 23:41:21 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 404rdY11PWz1qqkt for ; Mon, 19 Mar 2018 23:41:21 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id lJPxa92G-icM for ; Mon, 19 Mar 2018 23:41:19 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-93-104-183-140.dynamic.mnet-online.de [93.104.183.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 19 Mar 2018 23:41:19 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 629C160659 for ; Mon, 19 Mar 2018 23:41:19 +0100 (CET) In-Reply-To: <874llcuhrp.fsf@gnu.org> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Am 19.03.2018 um 17:55 schrieb Ludovic Court=C3=A8s: > I=E2=80=99m no Pythonista, but would it work to create =E2=80=9Cpython-= matplotlib-qt=E2=80=9D, > which would contain nothing but the Qt rendering backend? This sounds like a good idea. Additionally I suggest doing to for *all* (relevant) backends, eg. gtk+, tk, cairo. A lazy way would be to only remove the inputs from 'python-matplot' and for 'python-matplot-qt' (et al.) include no package but only the input. (Much like "meta" packages in Debian). List of backends [2]: # GTK GTKAgg GTKCairo GTK3Agg GTK3Cairo # MacOSX Qt4Agg Qt5Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG # Template. Names are are not case-sensitive [1] With a typical installation of matplotlib, such as from a binary installer or a linux distribution package, a good default backend will already be set, allowing both interactive work and plotting from scripts, with output to the screen and/or to a file, so at least initially you will not need to use any of the methods given above. [1] [1] https://matplotlib.org/faq/usage_faq.html#what-is-a-backend [2] https://matplotlib.org/users/customizing.html#a-sample-matplotlibrc-f= ile --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |