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
(10) |
2
(6) |
3
(13) |
4
(3) |
5
(10) |
6
(4) |
7
(2) |
8
(15) |
9
(10) |
10
(44) |
11
(17) |
12
(9) |
13
(2) |
14
(2) |
15
(4) |
16
(8) |
17
(13) |
18
(11) |
19
(12) |
20
|
21
|
22
(10) |
23
(10) |
24
(11) |
25
(11) |
26
(9) |
27
(1) |
28
|
29
(15) |
30
(14) |
31
(7) |
|
|
|
>>>>> "cglackin" == cglackin <cgl...@lk...> writes: cglackin> savefig('c:\multiline.jpg') native agg doesn't support jpg -- try png. JDH
>>>>> "Henry" == Henry Proudhon <hen...@in...> writes: Henry> Hi everyone, When you draw a picture with subplots, you can Henry> control the vertical and horizontal spaces between thanks Henry> to the "configure subplots" button in the toolbar. I'm Henry> sure there is a way to set the values of wspace and hspace Henry> manually but could'nt find it. That does not seems to be Henry> reported (yet) in the documentation. Call subplots_adjust(hspace=0.1), etc. This is a pylab method that applies to the current figure fig = figure() subplots_adjust(hspace=0.1) or if you prefer a Figure method fig.subplots_adjust(hspace=0.1) The default values are set in your matplotlibrc file http://matplotlib.sf.net/matplotlibrc # The figure subplot parameters. All dimensions are fraction of the # figure width or height figure.subplot.left : 0.125 # the left side of the subplots of the figure figure.subplot.right : 0.9 # the right side of the subplots of the figure figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure figure.subplot.top : 0.9 # the top of the subplots of the figure figure.subplot.wspace : 0.2 # the amount of width reserved for blank space between subplots figure.subplot.hspace : 0.2 # the amount of height reserved for white space between subplots JDH
Hi, just to roll the ball, your code works fine for me under linux --Henry cgl...@lk... a =E9crit : >I am having a problem saving figures with any of the Agg backends. >Below is a sample of code and the resulting output. I receive the same >type of errors with any of the Agg backends ie WxAgg, TkAgg ect. With >SVG, or GD it does save. I am running python 2.3 under windows XP >matplotlib .83.2. Can you provide some guidance as to what I may have >configured wrong with the Agg backends? > >Sample code run with -dAgg > = =20 > = =20 > = =20 > #!/usr/bin/env python = =20 > from pylab import * = =20 > = =20 > plot(arange(10), color=3D'#006400') = =20 > xlabel('this is a xlabel\n(with newlines!)') = =20 > ylabel('this is vertical\ntest', multialignment=3D'center') = =20 > #ylabel('this is another!') = =20 > text(2, 7,'this is\nyet another test', = =20 > rotation=3D45, = =20 > horizontalalignment =3D 'center', = =20 > verticalalignment =3D 'top', = =20 > multialignment =3D 'center') = =20 > savefig('c:\multiline.jpg') = =20 > = =20 > = =20 > Debug output = =20 > = =20 > = =20 > loaded rc file C:\Python23\share\matplotlib\matplotlibrc = =20 > matplotlib version 0.83.2 = =20 > verbose.level debug-annoying = =20 > interactive is False = =20 > platform is win32 = =20 > loaded modules: ['pylab', '__future__', 'copy_reg', 'sre_compile', = =20 > 'cm', 'locale', '_sre', '__main__', 'site', '__builtin__', = =20 > 'datetime', 'thread', 'colors', 'numerix', 'encodings', 'os.path', = =20 > 'encodings.encodings', 'matplotlib.sys', 'distutils.string', = =20 > 'dateutil', 'matplotlib.datetime', 'strop', '_random', 'tempfile', = =20 > 'errno', 'matplotlib.warnings', 'encodings.codecs', 'sre_constants', = =20 > 're', 'ntpath', 'pytz.sys', 'UserDict', 'distutils.sysconfig', = =20 > 'encodings.exceptions', 'nt', 'pytz.sets', 'math', 'stat', = =20 > 'zipimport', 'string', 'warnings', 'encodings.types', '_codecs', = =20 > 'sets', 'numerix.os', 'distutils.os', 'matplotlib', = =20 > 'encodings.cp1252', 'sys', 'pytz.tzinfo', 'pytz', 'pytz.datetime', = =20 > 'matplotlib.__future__', 'codecs', 'distutils.re', = =20 > 'matplotlib.pytz', 'types', 'numerix.sys', 'matplotlib.dateutil', = =20 > '_locale', 'matplotlib.os', 'distutils', 'sre', 'bisect', = =20 > 'matplotlib.distutils', 'signal', 'distutils.errors', 'random', = =20 > 'linecache', 'itertools', 'time', 'exceptions', 'sre_parse', = =20 > 'pytz.bisect', 'distutils.sys', 'os', 'matplotlib.tempfile'] = =20 > numerix Numeric 23.8 = =20 > numerix Numeric 23.8 = =20 > font search path ['C:\\Python23\\share\\matplotlib'] = =20 > trying fontname C:\Python23\share\matplotlib\cmex10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\cmmi10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\cmr10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\VeraMono.ttf = =20 > trying fontname C:\Python23\share\matplotlib\cmsy10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\VeraSeBd.ttf = =20 > trying fontname C:\Python23\share\matplotlib\cmtt10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\Vera.ttf = =20 > $HOME=3DC:\Documents and Settings\cglackin = =20 > CONFIGDIR=3DC:\Documents and Settings\cglackin\.matplotlib = =20 > loaded ttfcache file C:\Documents and = =20 > Settings\cglackin\.matplotlib\ttffont.cache = =20 > font search path ['C:\\Python23\\share\\matplotlib'] = =20 > trying fontname C:\Python23\share\matplotlib\cmex10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\cmmi10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\cmr10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\VeraMono.ttf = =20 > trying fontname C:\Python23\share\matplotlib\cmsy10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\VeraSeBd.ttf = =20 > trying fontname C:\Python23\share\matplotlib\cmtt10.ttf = =20 > trying fontname C:\Python23\share\matplotlib\Vera.ttf = =20 > loaded ttfcache file C:\Documents and = =20 > Settings\cglackin\.matplotlib\ttffont.cache = =20 > matplotlib data path C:\Python23\share\matplotlib = =20 > backend Agg version v2.2 = =20 > backend_agg.new_figure_manager = =20 > FigureCanvasAgg.print_figure = =20 > FigureCanvasAgg.draw = =20 > RendererAgg.__init__ = =20 > RendererAgg._get_agg_font = =20 > findfont failed Lucida Grande = =20 > findfont found Verdana, normal, normal 500, normal, 12.0 = =20 > findfont returning C:\WINDOWS\Fonts\VERDANA.TTF = =20 > RendererAgg._get_agg_font = =20 > RendererAgg.draw_text = =20 > RendererAgg._get_agg_font = =20 > Traceback (most recent call last): = =20 > RendererAgg.points_to_pixels = =20 > File "C:\python projects\External Files\multiline.py", line 13, in = =20 > ? = =20 > savefig('c:\multiline.jpg') = =20 > File "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line = =20 > 773, in savefig = =20 > return fig.savefig(*args, **kwargs) = =20 > File "C:\Python23\Lib\site-packages\matplotlib\figure.py", line = =20 > 636, in savefig = =20 > self.canvas.print_figure(*args, **kwargs) = =20 > File = =20 > "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py", = =20 > line 444, in print_figure = =20 > self.draw() = =20 > File = =20 > "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py", = =20 > line 381, in draw = =20 > self.figure.draw(renderer) = =20 > File "C:\Python23\Lib\site-packages\matplotlib\figure.py", line = =20 > 511, in draw = =20 > for a in self.axes: a.draw(renderer) = =20 > File "C:\Python23\Lib\site-packages\matplotlib\axes.py", line = =20 > 1387, in draw = =20 > self.xaxis.draw(renderer) = =20 > File "C:\Python23\Lib\site-packages\matplotlib\axis.py", line 552, = =20 > in draw = =20 > tick.draw(renderer) = =20 > File "C:\Python23\Lib\site-packages\matplotlib\axis.py", line 148, = =20 > in draw = =20 > if self.tick1On: self.tick1line.draw(renderer) = =20 > File "C:\Python23\Lib\site-packages\matplotlib\lines.py", line = =20 > 399, in draw = =20 > markerFunc(renderer, gc, xt, yt) = =20 > File "C:\Python23\Lib\site-packages\matplotlib\lines.py", line = =20 > 999, in _draw_tickup = =20 > path.move_to(-0.5, 0) = =20 > File "C:\Python23\Lib\site-packages\matplotlib\agg.py", line 809, = =20 > in move_to = =20 > def move_to(*args): return _agg.path_storage_move_to(*args) = =20 > TypeError: argument number 1: a 'path_t *' is expected, = =20 > 'path_storagePtr(<agg.path_storagePtr; proxy of C++ = =20 > agg::path_storage instance at _208aa401_p_agg__path_storage>)' is = =20 > received = =20 > = =20 > = =20 > > > > >CSG > > > > >______________________________________________________________________ >This email has been scanned by the MessageLabs Email Security System. >For more information please visit http://www.messagelabs.com/email=20 >______________________________________________________________________ > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practi= ces >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & = QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5s= f >_______________________________________________ >Matplotlib-users mailing list >Mat...@li... >https://lists.sourceforge.net/lists/listinfo/matplotlib-users > =20 >
On Tuesday 16 August 2005 5:50 am, Henry Proudhon wrote: > Hi everyone, > > When you draw a picture with subplots, you can control the vertical and > horizontal spaces between thanks to the "configure subplots" button in > the toolbar. > I'm sure there is a way to set the values of wspace and hspace manually > but could'nt find it. That does not seems to be reported (yet) in the > documentation. > > any clue ? Try the axes([left, bottom, width height]) command to manually place your axes. Darren
I am having a problem saving figures with any of the Agg backends. Below is a sample of code and the resulting output. I receive the same type of errors with any of the Agg backends ie WxAgg, TkAgg ect. With SVG, or GD it does save. I am running python 2.3 under windows XP matplotlib .83.2. Can you provide some guidance as to what I may have configured wrong with the Agg backends? Sample code run with -dAgg #!/usr/bin/env python from pylab import * plot(arange(10), color='#006400') xlabel('this is a xlabel\n(with newlines!)') ylabel('this is vertical\ntest', multialignment='center') #ylabel('this is another!') text(2, 7,'this is\nyet another test', rotation=45, horizontalalignment = 'center', verticalalignment = 'top', multialignment = 'center') savefig('c:\multiline.jpg') Debug output loaded rc file C:\Python23\share\matplotlib\matplotlibrc matplotlib version 0.83.2 verbose.level debug-annoying interactive is False platform is win32 loaded modules: ['pylab', '__future__', 'copy_reg', 'sre_compile', 'cm', 'locale', '_sre', '__main__', 'site', '__builtin__', 'datetime', 'thread', 'colors', 'numerix', 'encodings', 'os.path', 'encodings.encodings', 'matplotlib.sys', 'distutils.string', 'dateutil', 'matplotlib.datetime', 'strop', '_random', 'tempfile', 'errno', 'matplotlib.warnings', 'encodings.codecs', 'sre_constants', 're', 'ntpath', 'pytz.sys', 'UserDict', 'distutils.sysconfig', 'encodings.exceptions', 'nt', 'pytz.sets', 'math', 'stat', 'zipimport', 'string', 'warnings', 'encodings.types', '_codecs', 'sets', 'numerix.os', 'distutils.os', 'matplotlib', 'encodings.cp1252', 'sys', 'pytz.tzinfo', 'pytz', 'pytz.datetime', 'matplotlib.__future__', 'codecs', 'distutils.re', 'matplotlib.pytz', 'types', 'numerix.sys', 'matplotlib.dateutil', '_locale', 'matplotlib.os', 'distutils', 'sre', 'bisect', 'matplotlib.distutils', 'signal', 'distutils.errors', 'random', 'linecache', 'itertools', 'time', 'exceptions', 'sre_parse', 'pytz.bisect', 'distutils.sys', 'os', 'matplotlib.tempfile'] numerix Numeric 23.8 numerix Numeric 23.8 font search path ['C:\\Python23\\share\\matplotlib'] trying fontname C:\Python23\share\matplotlib\cmex10.ttf trying fontname C:\Python23\share\matplotlib\cmmi10.ttf trying fontname C:\Python23\share\matplotlib\cmr10.ttf trying fontname C:\Python23\share\matplotlib\VeraMono.ttf trying fontname C:\Python23\share\matplotlib\cmsy10.ttf trying fontname C:\Python23\share\matplotlib\VeraSeBd.ttf trying fontname C:\Python23\share\matplotlib\cmtt10.ttf trying fontname C:\Python23\share\matplotlib\Vera.ttf $HOME=C:\Documents and Settings\cglackin CONFIGDIR=C:\Documents and Settings\cglackin\.matplotlib loaded ttfcache file C:\Documents and Settings\cglackin\.matplotlib\ttffont.cache font search path ['C:\\Python23\\share\\matplotlib'] trying fontname C:\Python23\share\matplotlib\cmex10.ttf trying fontname C:\Python23\share\matplotlib\cmmi10.ttf trying fontname C:\Python23\share\matplotlib\cmr10.ttf trying fontname C:\Python23\share\matplotlib\VeraMono.ttf trying fontname C:\Python23\share\matplotlib\cmsy10.ttf trying fontname C:\Python23\share\matplotlib\VeraSeBd.ttf trying fontname C:\Python23\share\matplotlib\cmtt10.ttf trying fontname C:\Python23\share\matplotlib\Vera.ttf loaded ttfcache file C:\Documents and Settings\cglackin\.matplotlib\ttffont.cache matplotlib data path C:\Python23\share\matplotlib backend Agg version v2.2 backend_agg.new_figure_manager FigureCanvasAgg.print_figure FigureCanvasAgg.draw RendererAgg.__init__ RendererAgg._get_agg_font findfont failed Lucida Grande findfont found Verdana, normal, normal 500, normal, 12.0 findfont returning C:\WINDOWS\Fonts\VERDANA.TTF RendererAgg._get_agg_font RendererAgg.draw_text RendererAgg._get_agg_font Traceback (most recent call last): RendererAgg.points_to_pixels File "C:\python projects\External Files\multiline.py", line 13, in ? savefig('c:\multiline.jpg') File "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line 773, in savefig return fig.savefig(*args, **kwargs) File "C:\Python23\Lib\site-packages\matplotlib\figure.py", line 636, in savefig self.canvas.print_figure(*args, **kwargs) File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py", line 444, in print_figure self.draw() File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py", line 381, in draw self.figure.draw(renderer) File "C:\Python23\Lib\site-packages\matplotlib\figure.py", line 511, in draw for a in self.axes: a.draw(renderer) File "C:\Python23\Lib\site-packages\matplotlib\axes.py", line 1387, in draw self.xaxis.draw(renderer) File "C:\Python23\Lib\site-packages\matplotlib\axis.py", line 552, in draw tick.draw(renderer) File "C:\Python23\Lib\site-packages\matplotlib\axis.py", line 148, in draw if self.tick1On: self.tick1line.draw(renderer) File "C:\Python23\Lib\site-packages\matplotlib\lines.py", line 399, in draw markerFunc(renderer, gc, xt, yt) File "C:\Python23\Lib\site-packages\matplotlib\lines.py", line 999, in _draw_tickup path.move_to(-0.5, 0) File "C:\Python23\Lib\site-packages\matplotlib\agg.py", line 809, in move_to def move_to(*args): return _agg.path_storage_move_to(*args) TypeError: argument number 1: a 'path_t *' is expected, 'path_storagePtr(<agg.path_storagePtr; proxy of C++ agg::path_storage instance at _208aa401_p_agg__path_storage>)' is received CSG ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
Hi everyone, When you draw a picture with subplots, you can control the vertical and horizontal spaces between thanks to the "configure subplots" button in the toolbar. I'm sure there is a way to set the values of wspace and hspace manually but could'nt find it. That does not seems to be reported (yet) in the documentation. any clue ? -- Henry Proudhon Postdoc Fellow Materials Engineering The University of British Columbia 309-3650 Stores Road V6T-1Z4 Vancouver B.C. (Canada)
Hi, I really like the possibility to create labels with tex support. Unfortunately, using this feature, svg export seems to be no longer available. This is sad, because creating svg's was one of my major reasons using matplotlib. Using latex most of the time, it was possible to create high quality vector based images with the possibility to change them later (e.g. with inkscape). I use this feature mostly for language changings of labels or titles. The error message: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", li ne 602, in save_figure self.canvas.print_figure(fname) File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py", line 114, in print_figure try: agg.print_figure(filename, dpi, facecolor, edgecolor, orientation) File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", li ne 458, in print_figure svg.print_figure(filename, dpi, facecolor, edgecolor, orientation) File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_svg.py", li ne 315, in print_figure self.figure.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/figure.py", line 498, in dra w for a in self.axes: a.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 1361, in draw self.xaxis.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/axis.py", line 544, in draw tick.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/axis.py", line 147, in draw if self.label1On: self.label1.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/text.py", line 847, in draw self._mytext.draw(renderer) File "/usr/lib/python2.4/site-packages/matplotlib/text.py", line 342, in draw renderer.draw_tex(gc, x, y, line, AttributeError: RendererSVG instance has no attribute 'draw_tex' Any idea, how to bring svg export back to work again ? Regards Werner
Hi all, How do I install the missing software ? /usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py:990: GtkWarning: Could not find the icon 'gnome-fs-home'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://freedesktop.org/Software/icon-theme/releases buttons) Nils