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
(1) |
3
(1) |
4
(6) |
5
(12) |
6
(13) |
7
|
|
8
(2) |
9
(21) |
10
(19) |
11
(2) |
12
(9) |
13
(22) |
14
(1) |
|
15
(1) |
16
(12) |
17
(5) |
18
(6) |
19
(7) |
20
(13) |
21
(6) |
|
22
(3) |
23
(14) |
24
(15) |
25
(7) |
26
(16) |
27
(7) |
28
(6) |
|
29
(1) |
30
(12) |
31
(3) |
|
|
|
|
|
From: Khem R. <raj...@gm...> - 2006-10-17 18:47:32
|
Hi I am new to matplotlib and I am trying to use it to draw a matrix. I would want to give a different color to each box depending upon the value this matrix element has Could someone help me in quick start meanwhile I am looking into documentation. Thanks khem |
|
From: Darren D. <dd...@co...> - 2006-10-17 16:15:27
|
What MPL version are you using, and what non-standard rc settings are you
using? You must be using either usetex or ps.usedistiller, because
ghostscript is failing to produce a distilled file.
I just fixed a bug in the error report, please update from svn or change line
1333 in backend_ps.py to read:
if exit_status: raise RuntimeError('pdftops was not able to process your \
image.\nHere is the full report generated by pdftops: \n\n' + fh.read())
My experience has been that ghostscript fails like this when you are using the
usetex option, and your latex syntax is incorrect. Latex may not exit with an
error status, even though it encountered a problem, and the bad output is
propagated downstream to dvips and ghostscript. If you want a more specific
answer, please provide a specific example that produces your result.
Darren
On Tuesday 17 October 2006 11:50, Humufr wrote:
> did you try to fix the size of the figure and the dpi?
>
> N.
>
> Eric Emsellem wrote:
> > Hi,
> >
> > I have a problem saving eps files in certain conditions. Unfortunately I
> > am unable to find a simple example which may be very illustrative here
> > to show you when it works and when it does not.
> > I include the error message below and so the question is: does anybody
> > have a hint of why the savefig fails and crashes?
> >
> > (I tried to close('all'), rcdefaults, etc).
> >
> > thanks for any input,
> >
> > Eric
> > =================
> >
> > >> savefig('toto.eps')
> >
> > Your figure is too big to fit on a4 paper. b4 paper will be used to
> > prevent clipping.
> > AFPL Ghostscript 8.51: Unrecoverable error, exit code 1
> > -------------------------------------------------------------------------
> >-- exceptions.NameError Traceback (most
> > recent call last)
> >
> > /home/science/Sauron/AnalysisKin/Paper7/<ipython console>
> >
> > /usr/local/lib/python2.4/site-packages/matplotlib/pylab.py in
> > savefig(*args, **kwargs)
> > 809 def savefig(*args, **kwargs):
> > 810 fig = gcf()
> > --> 811 return fig.savefig(*args, **kwargs)
> > 812 if Figure.savefig.__doc__ is not None:
> > 813 savefig.__doc__ = _shift_string(Figure.savefig.__doc__)
> >
> > /usr/local/lib/python2.4/site-packages/matplotlib/figure.py in
> > savefig(self, *args, **kwargs)
> > 673 kwargs[key] = rcParams['savefig.%s'%key]
> > 674
> > --> 675 self.canvas.print_figure(*args, **kwargs)
> > 676
> > 677 def colorbar(self, mappable, cax=None, **kw):
> >
> > /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg
> >.py in print_figure(self, filename, dpi, facecolor, edgecolor,
> > orientation, **kwargs)
> > 112 try:
> > 113 agg.print_figure(filename, dpi, facecolor,
> > edgecolor,
> > --> 114 orientation, **kwargs)
> > 115 except IOError, msg:
> > 116 error_msg_gtk('Failed to save\nError message:
> > %s'%(msg,), self)
> >
> > /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py
> > in print_figure(self, filename, dpi, facecolor, edgecolor, orientation,
> > **kwargs)
> > 486 ps = self.switch_backends(FigureCanvasPS)
> > 487 ps.print_figure(filename, dpi, facecolor,
> > edgecolor, --> 488 orientation, **kwargs)
> > 489 elif ext.find('pdf')>=0:
> > 490 from backend_pdf import FigureCanvasPdf
> >
> > /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
> > in print_figure(self, outfile, dpi, facecolor, edgecolor, orientation,
> > papertype)
> > 999 # Let's keep the usetex stuff seperate from the
> > generic postscript
> > 1000 self._print_figure_tex(outfile, dpi, facecolor,
> > edgecolor,
> > -> 1001 orientation, papertype)
> > 1002 else:
> > 1003 if isinstance(outfile, file):
> >
> > /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
> > in _print_figure_tex(self, outfile, dpi, facecolor, edgecolor,
> > orientation, papertype)
> > 1233 elif rcParams['text.usetex']:
> > 1234 if False: pass # for debugging
> > -> 1235 else: gs_distill(tmpfile, ext=='.eps',
> > ptype=papertype, bbox=bbox)
> > 1236
> > 1237 if isinstance(outfile, file):
> >
> > /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
> > in gs_distill(tmpfile, eps, ptype, bbox)
> > 1331 exit_status = os.system(command)
> > 1332 fh = file(outfile)
> > -> 1333 if exit_status: raise RuntimeError('ghostscript was not able
> > to process \
> > 1334 your image.\nHere is the full report generated by ghostscript: \
> > 1335 \n\n'% dvifile + fh.read())
> >
> > NameError: global name 'dvifile' is not defined
> >
> >
> > --
> > ====================================================================
> > Eric Emsellem ems...@ob...
> > Centre de Recherche Astrophysique de Lyon
> > 9 av. Charles-Andre tel: +33 (0)4 78 86 83 84
> > 69561 Saint-Genis Laval Cedex fax: +33 (0)4 78 86 83 86
> > France http://www-obs.univ-lyon1.fr/eric.emsellem
> > ====================================================================
> >
> > ------------------------------------------------------------------------
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Darren S. Dale, Ph.D.
Staff Scientist
Cornell High Energy Synchrotron Source
Cornell University
275 Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dd...@co...
office: (607) 255-3819
fax: (607) 255-9001
http://www.chess.cornell.edu
|
|
From: PGM <pgm...@gm...> - 2006-10-17 16:02:23
|
On Tuesday 17 October 2006 11:50, Humufr wrote: > did you try to fix the size of the figure and the dpi? Just wondering: you wouldn't happen to plot a space character by itself, by any chance ? I remmbr running into something similar (the dvifile not being processed properly), and it turned out that I was trying to use r' ' for a legend. Substituting it with '' (viz, empty character) did the trick. My 2c would be to try plotting first with usetex=False, then add with usetex=True but text group by text group (tick labels, legened) till you find the culprit. |
|
From: Humufr <hu...@ya...> - 2006-10-17 15:50:18
|
did you try to fix the size of the figure and the dpi?
N.
Eric Emsellem wrote:
> Hi,
>
> I have a problem saving eps files in certain conditions. Unfortunately I
> am unable to find a simple example which may be very illustrative here
> to show you when it works and when it does not.
> I include the error message below and so the question is: does anybody
> have a hint of why the savefig fails and crashes?
>
> (I tried to close('all'), rcdefaults, etc).
>
> thanks for any input,
>
> Eric
> =================
>
> >> savefig('toto.eps')
>
>
> Your figure is too big to fit on a4 paper. b4 paper will be used to
> prevent clipping.
> AFPL Ghostscript 8.51: Unrecoverable error, exit code 1
> ---------------------------------------------------------------------------
> exceptions.NameError Traceback (most
> recent call last)
>
> /home/science/Sauron/AnalysisKin/Paper7/<ipython console>
>
> /usr/local/lib/python2.4/site-packages/matplotlib/pylab.py in
> savefig(*args, **kwargs)
> 809 def savefig(*args, **kwargs):
> 810 fig = gcf()
> --> 811 return fig.savefig(*args, **kwargs)
> 812 if Figure.savefig.__doc__ is not None:
> 813 savefig.__doc__ = _shift_string(Figure.savefig.__doc__)
>
> /usr/local/lib/python2.4/site-packages/matplotlib/figure.py in
> savefig(self, *args, **kwargs)
> 673 kwargs[key] = rcParams['savefig.%s'%key]
> 674
> --> 675 self.canvas.print_figure(*args, **kwargs)
> 676
> 677 def colorbar(self, mappable, cax=None, **kw):
>
> /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py
> in print_figure(self, filename, dpi, facecolor, edgecolor, orientation,
> **kwargs)
> 112 try:
> 113 agg.print_figure(filename, dpi, facecolor,
> edgecolor,
> --> 114 orientation, **kwargs)
> 115 except IOError, msg:
> 116 error_msg_gtk('Failed to save\nError message:
> %s'%(msg,), self)
>
> /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py
> in print_figure(self, filename, dpi, facecolor, edgecolor, orientation,
> **kwargs)
> 486 ps = self.switch_backends(FigureCanvasPS)
> 487 ps.print_figure(filename, dpi, facecolor, edgecolor,
> --> 488 orientation, **kwargs)
> 489 elif ext.find('pdf')>=0:
> 490 from backend_pdf import FigureCanvasPdf
>
> /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
> in print_figure(self, outfile, dpi, facecolor, edgecolor, orientation,
> papertype)
> 999 # Let's keep the usetex stuff seperate from the
> generic postscript
> 1000 self._print_figure_tex(outfile, dpi, facecolor,
> edgecolor,
> -> 1001 orientation, papertype)
> 1002 else:
> 1003 if isinstance(outfile, file):
>
> /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
> in _print_figure_tex(self, outfile, dpi, facecolor, edgecolor,
> orientation, papertype)
> 1233 elif rcParams['text.usetex']:
> 1234 if False: pass # for debugging
> -> 1235 else: gs_distill(tmpfile, ext=='.eps',
> ptype=papertype, bbox=bbox)
> 1236
> 1237 if isinstance(outfile, file):
>
> /usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
> in gs_distill(tmpfile, eps, ptype, bbox)
> 1331 exit_status = os.system(command)
> 1332 fh = file(outfile)
> -> 1333 if exit_status: raise RuntimeError('ghostscript was not able
> to process \
> 1334 your image.\nHere is the full report generated by ghostscript: \
> 1335 \n\n'% dvifile + fh.read())
>
> NameError: global name 'dvifile' is not defined
>
>
> --
> ====================================================================
> Eric Emsellem ems...@ob...
> Centre de Recherche Astrophysique de Lyon
> 9 av. Charles-Andre tel: +33 (0)4 78 86 83 84
> 69561 Saint-Genis Laval Cedex fax: +33 (0)4 78 86 83 86
> France http://www-obs.univ-lyon1.fr/eric.emsellem
> ====================================================================
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Eric E. <ems...@ob...> - 2006-10-17 15:43:18
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">Hi,
I have a problem saving eps files in certain conditions. Unfortunately I
am unable to find a simple example which may be very illustrative here
to show you when it works and when it does not.
I include the error message below and so the question is: does anybody
have a hint of why the savefig fails and crashes?
(I tried to close('all'), rcdefaults, etc).
thanks for any input,
Eric
=================<span class="moz-txt-citetags">
>> </span>savefig('toto.eps')
</pre>
<pre wrap=""><!---->
Your figure is too big to fit on a4 paper. b4 paper will be used to
prevent clipping.
AFPL Ghostscript 8.51: Unrecoverable error, exit code 1
---------------------------------------------------------------------------
exceptions.NameError Traceback (most
recent call last)
/home/science/Sauron/AnalysisKin/Paper7/<ipython console>
/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py in
savefig(*args, **kwargs)
809 def savefig(*args, **kwargs):
810 fig = gcf()
--> 811 return fig.savefig(*args, **kwargs)
812 if Figure.savefig.__doc__ is not None:
813 savefig.__doc__ = _shift_string(Figure.savefig.__doc__)
/usr/local/lib/python2.4/site-packages/matplotlib/figure.py in
savefig(self, *args, **kwargs)
673 kwargs[key] = rcParams['savefig.%s'%key]
674
--> 675 self.canvas.print_figure(*args, **kwargs)
676
677 def colorbar(self, mappable, cax=None, **kw):
/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py
in print_figure(self, filename, dpi, facecolor, edgecolor, orientation,
**kwargs)
112 try:
113 agg.print_figure(filename, dpi, facecolor,
edgecolor,
--> 114 orientation, **kwargs)
115 except IOError, msg:
116 error_msg_gtk('Failed to save\nError message:
%s'%(msg,), self)
/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py
in print_figure(self, filename, dpi, facecolor, edgecolor, orientation,
**kwargs)
486 ps = self.switch_backends(FigureCanvasPS)
487 ps.print_figure(filename, dpi, facecolor, edgecolor,
--> 488 orientation, **kwargs)
489 elif ext.find('pdf')>=0:
490 from backend_pdf import FigureCanvasPdf
/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
in print_figure(self, outfile, dpi, facecolor, edgecolor, orientation,
papertype)
999 # Let's keep the usetex stuff seperate from the
generic postscript
1000 self._print_figure_tex(outfile, dpi, facecolor,
edgecolor,
-> 1001 orientation, papertype)
1002 else:
1003 if isinstance(outfile, file):
/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
in _print_figure_tex(self, outfile, dpi, facecolor, edgecolor,
orientation, papertype)
1233 elif rcParams['text.usetex']:
1234 if False: pass # for debugging
-> 1235 else: gs_distill(tmpfile, ext=='.eps',
ptype=papertype, bbox=bbox)
1236
1237 if isinstance(outfile, file):
/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py
in gs_distill(tmpfile, eps, ptype, bbox)
1331 exit_status = os.system(command)
1332 fh = file(outfile)
-> 1333 if exit_status: raise RuntimeError('ghostscript was not able
to process \
1334 your image.\nHere is the full report generated by ghostscript: \
1335 \n\n'% dvifile + fh.read())
NameError: global name 'dvifile' is not defined
</pre>
<pre class="moz-signature" cols="72">--
====================================================================
Eric Emsellem <a class="moz-txt-link-abbreviated" href="mailto:ems...@ob...">ems...@ob...</a>
Centre de Recherche Astrophysique de Lyon
9 av. Charles-Andre tel: +33 (0)4 78 86 83 84
69561 Saint-Genis Laval Cedex fax: +33 (0)4 78 86 83 86
France <a class="moz-txt-link-freetext" href="http://www-obs.univ-lyon1.fr/eric.emsellem">http://www-obs.univ-lyon1.fr/eric.emsellem</a>
====================================================================
</pre>
</body>
</html>
|