You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
| 2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
| 2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
| 2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
| 2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
| 2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
| 2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
| 2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
| 2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
| 2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
| 2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
| 2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(3) |
|
2
|
3
(2) |
4
(1) |
5
(12) |
6
(5) |
7
(3) |
8
(2) |
|
9
(1) |
10
(14) |
11
(11) |
12
(7) |
13
(4) |
14
(8) |
15
(2) |
|
16
(1) |
17
(2) |
18
(1) |
19
|
20
(1) |
21
(10) |
22
(2) |
|
23
(1) |
24
(1) |
25
(7) |
26
(10) |
27
(2) |
28
(1) |
29
(5) |
|
30
(7) |
|
|
|
|
|
|
|
From: John H. <jd...@gm...> - 2008-11-01 20:14:23
|
On Sat, Nov 1, 2008 at 5:37 AM, Sandro Tosi <mo...@de...> wrote: > Hello guys! > Following up the discussion Benjiamin and me had about a couple of > bugs in Ubuntu[1] and Debian[2], and what Mike wrote on [1], we'd like > to explore the possibility for you to develop a "backend=Auto" mode, > that can discover automatically at runtime the backend to use from the > ones available (in case of multiple backends, let's use a priority > list [gtk, qt, tk, ...]). This should be fairly easy to implement -- we already do something like this at build time when we choose the default backend to put into the template. FYI, since you are a packager, I jwant to clarify what happens at build time. We have a file called setup.cfg.template which is a template for people who want to override the default behavior. You can copy this to setup.cfg and choose what default backend you want, and the setup program will create an rc configured accordingly. But if someone has not done this, the setup script will look (at build time) for gtk, wx, and tk, and set the backend in order of increasing preference: Agg, TkAgg, WXAgg, GTKAgg. The file matplotlibrc.template is then used to generate the default matplotlibrc, with this backend selected. This matplotlibrc is installed to matplotlib/mpl-data/ and is used as the default config if the user does not override it. As a debian/ubuntu packager, you will probably want to use setup.cfg and set your backend manually. You may want to use TkAgg since in some ways this is the simplest backend to use in the most contexts, primarily because it does not require special threading calls to work interactively in the python shell -- see http://matplotlib.sf.net/installing.html But an "Auto" feature would be useful in other contexts too. One area is when matplotlib is embedded in a GUI IDE matlab-like application. There are several of these that are being worked on in different user interfaces, primarily using the new embeddable ipython, and the concern there is that the user may be using one application which embeds a python shell, and when users import pylab in that shell, the ought not to have to think: "now I am using python in a wx app, so I need to sert wxagg" but in other scenarios, "now I am using pylab in a plain python shell so use tkagg" The auto search algorithm should go something like the following: * if tkinter, wx, gtk or qt has already been imported in sys.modules, use that backend - Gael has already an implementation in the pyplot module using the rc param 'backend_fallback' * if backend = 'auto': try in order of preference :tkagg (most likely to work in most contexts), gtkagg, wxagg, qtagg. This order could easily be configurable * if none of the UIs are available in 'auto' mode, issue a warning and set 'agg' If I were packaging for ubuntu, I would select tkagg as the default, so you don't have to wade into the GNOME vs KDE arena and because it works out of the box in the most contexts and is a pretty small dependency. You could modify the matplotlib runtime so that when the .matplotlib directory is created (the first time mpl is run) it issues a message like Creating config directory ~/.matplotlib. The default user interface toolkit for matplotlib is TkInter via the "TkAgg backend" (see http://matplotlib.sourceforge.net/faq/installing_faq.html#id1). You use other backends, you will need to install additional ubuntu dependencies. For GTKAgg, install python-gtk, for WXAgg, install python-wxgtk, etc..." > Personally, I think we can even attack the problem with a different > solution: continue to ship all the mpl file in the "main" package > (python-matplotlib in Debian & Ubuntu) and then create some "dummy" > packages that simply depends on the python gui bindings (let's call > them python-matplotlib-<ui>), each of them providing a virtual > package, let's call it python-matplotlib-backend. If python-matplotlib > depends on python-matplotlib-gtk OR python-matplotlib-backend, any > backend installed can satisfy that dependency (and the default being > gtk). That should work fine, but I advise installing all of mpl and use these dummies only for dependencies. > Both of them has cons: the first poses problem to us for the > packaging, and both does not solve the problem of not choosing a > default (or requiring to specify another package (the backend chosen) > when installing python-matplotlib); moreover, what other packages > depending on python-matplotlib should do after this change (they > expect mpl to Just Work)? Well, if the package that depends on mpl requires for example wx and the wx backend, then it is enough for them to get a full mpl install and handle the wx dependency in their package. They would need to make sure that the right mpl backend is selected when they import mpl, but they can do that with the use directive. > Another solution (that would save the most of the current work done), > almost the same currently used today is: keep doing the same thing as > of now, but do not install any python gui bindings, but popup a > windows at python-matplotlib install time to ask the user what binding > to use (then create the ad-hoc /etc/matplotlirc file with that > "backend" set) and then ask to install the correct python binding for > the backend chosen. A light version is: keep choosing gtk as default > backend, and clearly document (even at install time) how to change > backend. This is in line with what I was suggesting, though I was suggesting it at mpl first run time. Either way could work. I do see that this is a problem: a colleague of mine with a new ubuntu 8.10 box installed python-matplotlib as one of his first packages, and it brought in 280 MB of packages, including several UI toolkits and a full tex distribution. I think the packagers are being over inclusive. For optional dependencies like usetex, which most people do not use, and optional backends, it would be better to have a clear set of instructions for users who want these optional features to simply apt-get install the optional dependencies themselves. JDH |
|
From: Darren D. <dsd...@gm...> - 2008-11-01 17:24:52
|
I attempted to improve the dependency checking in matplotlib.__init__, using the subprocess module to silence some deprecation warnings encountered with py2.6. I dont have access to a Windows machine, would someone please test the attached patch or __init__.py file to see if it works on that platform? Thanks, Darren |
|
From: Sandro T. <mo...@de...> - 2008-11-01 10:37:04
|
Hello guys! Following up the discussion Benjiamin and me had about a couple of bugs in Ubuntu[1] and Debian[2], and what Mike wrote on [1], we'd like to explore the possibility for you to develop a "backend=Auto" mode, that can discover automatically at runtime the backend to use from the ones available (in case of multiple backends, let's use a priority list [gtk, qt, tk, ...]). Our main goal, as packagers, is to avoid the installation of gnome dependencies (gtk2 is now the default in both sid and lenny-near-to-be-stable, for Ubuntu is tk) for kde users (and viceversa, or any other combination). One way is to ship a "core" package, that contains the main functionalities, and some "backend" packages to depends (or even contains the real backend files, like .so & altera) on the available gui python bindings. Related to the above sentence, is this question: how easy is to "split" backend files? is it enough to separate files under /usr/lib/python*/site-packages/matplotlib/backends/* in different packages? But that would only create 3 pkgs: agg, gtk and tk. What about wx and qt? Personally, I think we can even attack the problem with a different solution: continue to ship all the mpl file in the "main" package (python-matplotlib in Debian & Ubuntu) and then create some "dummy" packages that simply depends on the python gui bindings (let's call them python-matplotlib-<ui>), each of them providing a virtual package, let's call it python-matplotlib-backend. If python-matplotlib depends on python-matplotlib-gtk OR python-matplotlib-backend, any backend installed can satisfy that dependency (and the default being gtk). Both of them has cons: the first poses problem to us for the packaging, and both does not solve the problem of not choosing a default (or requiring to specify another package (the backend chosen) when installing python-matplotlib); moreover, what other packages depending on python-matplotlib should do after this change (they expect mpl to Just Work)? Another solution (that would save the most of the current work done), almost the same currently used today is: keep doing the same thing as of now, but do not install any python gui bindings, but popup a windows at python-matplotlib install time to ask the user what binding to use (then create the ad-hoc /etc/matplotlirc file with that "backend" set) and then ask to install the correct python binding for the backend chosen. A light version is: keep choosing gtk as default backend, and clearly document (even at install time) how to change backend. What you (upstream and distribution packages users) expect from us (packagers) about these 2 questions (backend=Auto and multi backend support)? Of course, any suggestion is very welcome :) Thanks in advance, Sandro [1] https://bugs.launchpad.net/ubuntu/+source/matplotlib/+bug/278764 [2] http://bugs.debian.org/502976 -- Sandro Tosi (aka morph, Morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |