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
(1) |
2
|
3
(1) |
4
|
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
|
19
|
20
(3) |
21
(3) |
22
(5) |
23
|
24
(4) |
25
(2) |
|
26
(1) |
27
|
28
(1) |
29
|
30
(4) |
|
|
|
From: John H. <jdh...@ac...> - 2004-09-22 13:03:51
|
>>>>> "Patrik" == Patrik Simons <pat...@ne...> writes:
Patrik> Here's a proposed patch for the caching problem in
Patrik> text.py. (I'm sending it before someone actually adds
Patrik> matplotlib.text.Text.cached = {} to, e.g.,
Patrik> matlab.close(). Oh, the horror :-)
What happened when you put it there?
It's not clear to me where to me where that misplaced zero is coming
from. Since the two figures are identical in size, I would think the
cached location of '0' from the first iteration of the loop would be
suitable for the second iteration. Do you understand how this is
failing?
The main reason for the cache was for efficiency in animated plots.
Eg, if you are just updating the data in a plot and then redrawing,
you don't want to do all the number crunching for text layout. With
rotated text and matrix operations to get the layout right, this can
get expensive.
I read over your patch. I wonder if a simpler and cleaner solution
might just be to move the cached into the __init__ method. Ie, make
it instance specific. This would still provide the cache efficiency
for animated plots, but should fix the problem you encountered.
It might also be less mind-bending than the solution you posted, at
least at this hour of the morning :-)
But I *would* like to understand how the current situation is
failing. I note that it does not occur if you replace figure(1) with
figure(i+1).
JDH
|
|
From: Patrik S. <pat...@ne...> - 2004-09-22 12:49:23
|
Here's a proposed patch for the caching problem in text.py.
(I'm sending it before someone actually adds
matplotlib.text.Text.cached = {}
to, e.g., matlab.close(). Oh, the horror :-)
--
Patrik
|
|
From: Patrik S. <pat...@ne...> - 2004-09-22 08:06:56
|
Hi there,
matplotlib.text.Text._get_layout(self, renderer) caches
its return value in the dictionary matplotlib.text.Text.cached.
Since it is never emptied, it causes problems when one
creates many figures.
Below, t0.png is ok but t1.png has the vertical tick label 0 in the
wrong place.
import matplotlib
matplotlib.use('Agg')
from matplotlib.matlab import *
y = [[100, 250], [10, 25]]
for i in range(2):
figure(1)
bar([0,1], y[i])
savefig('t%d.png' % i)
# Uncomment to fix
#matplotlib.text.Text.cached = {}
close('all')
--
Patrik
|
|
From: Andrew S. <str...@as...> - 2004-09-22 04:40:15
|
John Hunter wrote: >>>>>>"Steve" == Steve Chaplin <ste...@ya...> writes: >>>>>> >>>>>> > > Steve> My view is that a software package should not distribute > Steve> and install its own dependencies. I think matplotlib > Steve> should have a list of dependencies (Python 2.2+, Numeric or > Steve> numarray, ...) which it requires before it attempts an > Steve> install, and a list of optional dependencies (pytz, > Steve> dateutil, ...) which matplotlib supports if it finds they > Steve> are already installed. > >What's your argument for this? > >My motivation to include them is mainly to simplify the install >process, to have some control over versioning, and to simplify the >coding process. > I agree with JDH on this one. Including extra pure-Python packages is not likely to cause (m)any problems: 1) on systems where people do lots of "python setup.py install" the definitive list of installed packages is the contents of site-packages 2) on systems with real package managers (e.g. Debian), this is for the package maintainer to worry about. those extra packages should be made package-level dependencies and not in the matplotlib.deb itself. (this assumes people on these systems are using the package manager. if not, see point #1) 3) on Windows, you want to double click something that just works. (In fact, by this reasoning, there's nothing against including mixed C/Python packages, either.) |
|
From: Steve C. <ste...@ya...> - 2004-09-22 04:08:24
|
On Tue, 2004-09-21 at 19:44, John Hunter wrote: > >>>>> "Steve" == Steve Chaplin <ste...@ya...> writes: > > Steve> My view is that a software package should not distribute > Steve> and install its own dependencies. I think matplotlib > Steve> should have a list of dependencies (Python 2.2+, Numeric or > Steve> numarray, ...) which it requires before it attempts an > Steve> install, and a list of optional dependencies (pytz, > Steve> dateutil, ...) which matplotlib supports if it finds they > Steve> are already installed. > > What's your argument for this? My argument is that most other software I've looked at does this and it seems to work OK. I guess the reasons are that - it makes software packages smaller - you only need to directly download one copy of a package and do not indirectly download multiple copies of the same package. - you can end up with multiple versions of a package. And later you may try to recall - which package x did I use to install package y? - the software package that includes other packages needs to make sure it keeps up to date with with the included packages and does not install old versions. > My motivation to include them is mainly to simplify the install > process, to have some control over versioning, and to simplify the > coding process. Since these are pure python packages, they present no Yes, this is an advantage of including everything, and a disadvantage for minimal packages. > Does your opinion change for the win32 installer? In that case, we > also include freetype, libpng, zlib. I guarantee the numbers of win32 > users would drop significantly if they had to install these extra > packages. Neither dateutil nor pytz distribute a win32 installer. > dateutil doesn't include a zip file (only a tar.bz file). So win32 > users would first have to get bunzip2, and then tar, figure out how to > use them, install, etc, just to get matplotlib date support. Win32 could be a special case. As a way to encourage more users how about working towards moving from the development status of version 0.62.4 "4 - Beta" to 1.0.0 "5 - Production/Stable". What's the criteria for this step? My understanding is that it does not mean that all desired features are implemented or complete, it just means that the software is stable, and matplotlib seems to be pretty stable already. Regards, Steve |