You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
(1) |
|
4
|
5
(5) |
6
|
7
(2) |
8
(4) |
9
(1) |
10
(1) |
|
11
|
12
|
13
|
14
|
15
(1) |
16
(1) |
17
(2) |
|
18
(4) |
19
|
20
(3) |
21
|
22
(8) |
23
(3) |
24
|
|
25
|
26
(3) |
27
(1) |
28
|
29
(2) |
30
(12) |
31
(5) |
|
From: John H. <jdh...@ac...> - 2004-01-26 21:38:53
|
>>>>> "matthew" == matthew arnison <ma...@ca...> writes:
matthew> * when saving from the GTK window into a .ps file, the
matthew> lines are not clipped by the edge of the plot area: see
matthew> the top left plot in the attached code
I've made a number of changes to matplotlib to improve the PS
functionality -- those of you who are interested should take this
version for a test drive and let me know of any problems so I can fix
them for the next release.
http://nitace.bsd.uchicago.edu:8080/files/share/matplotlib-0.42g.tar.gz
Note WX is not working (but will be soon) with this snapshot so wx
users please do not download.
Added:
* I think I've fixed all the backend switching problems, you can now
output PS from the GTK backend by adding the PS extension. This
will be available in WX soon. Let me know if you find any
lingering bugs.
* EPS (at long last!). Just use an 'eps' extension and the bounding
box will be added to the PS output.
matthew> * xaxis and yaxis labels often land on top of adjacent
matthew> subplot titles and plot areas in savefig('blah.ps')
matthew> output (I've had trouble with this in the -dPS output
matthew> too)
Yep, axes don't communicate with one another for text layout. A few
things which you can do to help
1) Turn off redundant x labels. If 2 subplots use the same x axis,
turn off the tick labels in all but the lower one with
set(gca(), 'xticklabels', [])
2) Make the tick labels and titles smaller
t = get(gca(), 'xticklabels')
set(t, 'fontsize', 8)
t = title('my title')
set(t, 'fontsize', 10)
3) control the placement of the title manually
t = title('my title')
t.set_y(0.95)
1.0 is the top of the y axis. 1.02 is the default. Numbers less
than 1 will be below the y axis. Eg, to make the title top
aligned and below the top of the y axis, do
t = title('my title', verticalalignment='top')
t.set_y(0.99)
I'm open to suggestions for changing the defaults (eg making the
default fonts smaller) if people are having these kinds of problems
regularly.
JDH
|
|
From: John H. <jdh...@ac...> - 2004-01-26 21:24:18
|
>>>>> "John" == John Hunter <jdh...@ac...> writes:
Kuzminski> #2 above is the answer to the problem in my original
Kuzminski> post. However I have another question. When I set the
Kuzminski> ylabel rotation to be horizontal, the beginning of the
Kuzminski> text is truncated ( the width of the border does not
Kuzminski> compensate ). I'm happy to set it wider but am
Kuzminski> wondering how ( what controls the width of the area
Kuzminski> where the labels gets written ).
In this case the placement of the ylabel is determined by the
horizontalalignment and the left side of the y tick labels. If it is
being truncated, you have a few choices.
1) Use a different alignment or smaller fontsize for the label
2) Use a smaller font size for the y tick labels or turn them off
entirely -- the position of the ylabel will automatically adjust
based upon the size of the tick labels.
3) Probably best, make a custom axes where the 'left' parameter is
larger and the width parameter is smaller. This will give you
more room for your ylabel.
Kuzminski> I also noticed that title of the graph ( with the
Kuzminski> horizontal alignment set to bottom ) is too close to
Kuzminski> the top of the graph itself, is there a way to pad
Kuzminski> that?
When you set the title, do
t = title('my title')
t.set_y(1.05) # relative axes coords
1.0 is the top of the axes, so the larger the number the higher the
title will be. 1.02 is the default.
Hope this helps,
JDH
|
|
From: John H. <jdh...@ac...> - 2004-01-26 06:30:00
|
>>>>> "Kuzminski," == Kuzminski, Stefan R <SKu...@fa...> writes:
Kuzminski> I attached a '_gd.dll'. This is the C python
Kuzminski> extension that the gd.py module from gdmodule imports.
Kuzminski> It goes directly in site-packages. I built it
Kuzminski> statically linked to zlib, libpng, freetype and the gd
Kuzminski> lib. I don't have the time at the moment to fuss with
Kuzminski> getting it to use the dlls. ( or to add the jpeg
Kuzminski> support ) The precompiled windows GD dll in particular
Kuzminski> seems to not export a few functions that gdmodule
Kuzminski> wants which is a real pain.
Excellent, the easier the better...
Kuzminski> 2) This one took me a long time to figure out. For
Kuzminski> some reason opening a windows file in Python with 'wb'
Kuzminski> permission will cause the png files to be corrupted
Kuzminski> above a certain image size. If you pass the filename
Kuzminski> to gdmodule, then the gdmodule opens the file and it
Kuzminski> works. I imagine that the python call "open(
Kuzminski> 'filename', 'wb' )" just calls fopen, furthermore I
Kuzminski> thought that binary mode only applied to reading
Kuzminski> files. At any rate, I have no idea why this doesn't
Kuzminski> work in this case but it doesn't. To get it to work,
Kuzminski> I had to change line 261 in backends_gd.py to pass the
Kuzminski> filename rather than a file object, this is the only
Kuzminski> modification to Matplotlib I had to make.
Could be that I don't have the text bounding boxes exactly right in
gdmodule. In axes.py there is a line on or around line 454
if 0:
if you replace that with
if 1:
the text bounding boxes will be displayed. If they are not exactly
right, then the text layout will also be off. I'll take a look when I
get some time, but in the mean time you may want to see for yourself.
Re: gdmodule on windows. What did you do for fonttools? Did you also
build this yourself? If I recall correctly I built it once on windows
without too much difficulty (back when I was trying to get gd working
on windows) but it's been a while and I didn't keep notes. I didn't
see an installer on the sf site.
JDH
Kuzminski> im.writePng( filename )
Kuzminski> #2 above is the answer to the problem in my original
Kuzminski> post. However I have another question. When I set the
Kuzminski> ylabel rotation to be horizontal, the beginning of the
Kuzminski> text is truncated ( the width of the border does not
Kuzminski> compensate ). I'm happy to set it wider but am
Kuzminski> wondering how ( what controls the width of the area
Kuzminski> where the labels gets written ). I also noticed that
Kuzminski> title of the graph ( with the horizontal alignment set
Kuzminski> to bottom ) is too close to the top of the graph
Kuzminski> itself, is there a way to pad that?
Kuzminski> thanks, Stefan
Kuzminski> -----Original Message----- From: John Hunter
Kuzminski> [mailto:jdh...@ni...] Sent:
Kuzminski> Friday, January 23, 2004 6:58 AM To: Kuzminski, Stefan
Kuzminski> R Cc: mat...@li... Subject:
Kuzminski> Re: [Matplotlib-users] broken PNG files with GD
Kuzminski> backend
>>>>> "Kuzminski," == Kuzminski, Stefan R <SKu...@fa...>
Kuzminski> writes:
Kuzminski> Now on to my specific problem. I'm using the GD
Kuzminski> backend on Windows with Matplotlib 0.41.
Kuzminski> First things first -- I haven't succeeded in getting
Kuzminski> the gd backend compiled on windows. If you have some
Kuzminski> expertise here and are willing to share, or better yet
Kuzminski> build a gdmodule and gd installer that I can put on
Kuzminski> the website, I would be very much obliged! I
Kuzminski> contacted the gdmodule maintainer some time ago over
Kuzminski> this issue and he had never built it on windows
Kuzminski> either. In my googling, I discovered the perl gd
Kuzminski> module for windows and following their lead, succeeded
Kuzminski> in building gd lib, but ran into some troubles (can't
Kuzminski> remember what) building gdmodule.
Kuzminski> If I set the dpi to over 60 the png file that gets
Kuzminski> generated is 'empty', it's only 17 bytes long. As soon
Kuzminski> as I drop he DPI to below 65 or so, I get the image
Kuzminski> file correctly. This is with the simple_plot.py
Kuzminski> example.
Kuzminski> Now on to your problem. Is there a typo here? You say
Kuzminski> over 60 is empty and under 65 is ok ?? Can you send
Kuzminski> me a script which replicates the problem, with the two
Kuzminski> calls to savefig, one which has the problem and which
Kuzminski> does not. Then I can begin to diagnose the problem;
Kuzminski> see if it occurs under linux, see if it's a gd
Kuzminski> problem, see if it's a problem on my end, etc....
Kuzminski> Are you using matplotlib + GD for a web app server?
Kuzminski> John Hunter
|