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
(38) |
2
(31) |
3
(9) |
4
(13) |
5
(24) |
6
(11) |
7
(8) |
8
(14) |
9
(7) |
10
(4) |
11
(7) |
12
(11) |
13
(16) |
14
(19) |
15
(11) |
16
(9) |
17
(3) |
18
(4) |
19
(47) |
20
(28) |
21
(9) |
22
(9) |
23
(11) |
24
|
25
|
26
(12) |
27
(22) |
28
(20) |
29
(16) |
30
(19) |
|
I think this will only work with some projections but not all. I looked at the code for tissot. It's pretty hairy but it almost does what I want. (It draws projected circles instead of projected rectangles. On Wed, Apr 7, 2010 at 1:54 PM, Jeff Whitaker <js...@fa...> wrote: > Yeates, Mathew C (388D) wrote: > > > > > > > > Hi > > > > What is the simplest way to fill in a 1 degree by 1 degree rectangle > > on a basemap projection? > > > > > > > > Mathew > > > > Mathew: Try this (for a 10x10 rectangle, but you get the idea) > > from matplotlib.patches import Polygon > import matplotlib.pyplot as plt > from mpl_toolkits.basemap import Basemap > map = Basemap(projection='moll',lon_0=0) > x1,y1 = map(-10,-10) > x2,y2 = map(-10,10) > x3,y3 = map(10,10) > x4,y4 = map(10,-10) > p = Polygon([(x1,y1),(x2,y2),(x3,y3),(x4,y4)],\ > facecolor='red',edgecolor='blue',linewidth=2) > plt.gca().add_patch(p) > map.drawcoastlines() > map.drawmapboundary() > plt.show() > > -Jeff > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Yeates, Mathew C (388D) wrote: > > > > Hi > > What is the simplest way to fill in a 1 degree by 1 degree rectangle > on a basemap projection? > > > > Mathew > Mathew: Try this (for a 10x10 rectangle, but you get the idea) from matplotlib.patches import Polygon import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap map = Basemap(projection='moll',lon_0=0) x1,y1 = map(-10,-10) x2,y2 = map(-10,10) x3,y3 = map(10,10) x4,y4 = map(10,-10) p = Polygon([(x1,y1),(x2,y2),(x3,y3),(x4,y4)],\ facecolor='red',edgecolor='blue',linewidth=2) plt.gca().add_patch(p) map.drawcoastlines() map.drawmapboundary() plt.show() -Jeff >
Hi What is the simplest way to fill in a 1 degree by 1 degree rectangle on a basemap projection? Mathew
I tried to take a look but, pstopdf in my linux box works okay (it converted test_tex_r8216.eps fine also) and I'm afraid that I may not be able to track this down. Just in case, can you check if using a different distiller makes any difference? I believe you're using a ghostscript (or none where ghostscript is force for usetex=True). See if using xpdf works. mpl.rc("ps", usedistiller="xpdf") Regards, -JJ On Fri, Apr 2, 2010 at 11:44 AM, Thomas Robitaille <tho...@gm...> wrote: > I just tried running epstopdf, and this does work correctly, so maybe now the only issue is that Preview.app on mac always uses pstopdf, even for eps files? (which then is not a matplotlib issue) I also checked that giving the file the extension '.ps' produces a ps file, and that does open correctly in Preview.app. > > Cheers, > > Tom > > On Apr 2, 2010, at 11:20 AM, Michael Droettboom wrote: > >> At least on my Linux box with gs 7.07, I have to use epstopdf (not pstopdf) to convert an eps file to a pdf. ps2pdf does work for both .ps and .eps files however. >> >> It looks like the 0.99.1.1 file is not in fact an .eps file, but a .ps file, (it certainly hasn't had the ps2eps function run on it) and I think it was probably a bug (now fixed) that 0.99.1.1 was writing out the wrong kind of file. >> It seems the relevant change is in r8102: "fix some issues in the bbox after the postscript distiller is run". This change removed a commented out call to ps2eps. I'm a bit out of my depth here as to why that change was made, and why .eps files seemingly haven't been true .eps files for a long time prior to that change. Anyone else? >> >> Mike >> >> Thomas Robitaille wrote: >>> It seems that removing 'restore' on line 1073 of the test_tex_r8216.eps file fixes the problem, although I don't understand postscript well enough to understand why that is. >>> >>> Thomas >>> >>> On Apr 2, 2010, at 9:30 AM, Michael Droettboom wrote: >>> >>> >>>> Can you provide us with the EPS file? What version of LaTeX is this? >>>> >>>> Mike >>>> >>>> Thomas Robitaille wrote: >>>> >>>>> Hello, >>>>> >>>>> I upgraded to the latest svn version of matplotlib today, and found that eps files produced with the system latex now seem to be invalid. For example, if I run the following script >>>>> >>>>> import matplotlib >>>>> matplotlib.use('Agg') >>>>> import matplotlib.pyplot as mpl >>>>> >>>>> mpl.rc('text', usetex=False) >>>>> >>>>> fig = mpl.figure() >>>>> ax = fig.add_subplot(1,1,1) >>>>> fig.savefig('test_notex.eps') >>>>> >>>>> mpl.rc('text', usetex=True) >>>>> >>>>> fig = mpl.figure() >>>>> ax = fig.add_subplot(1,1,1) >>>>> fig.savefig('test_tex.eps') >>>>> >>>>> and try running pstopdf on them (on MacOS 10.6) I get the following >>>>> >>>>> air:air tom$ pstopdf test_tex.eps %%[ Warning: Empty job. No PDF file produced. ] %% >>>>> air:air tom$ pstopdf test_notex.eps air:air tom$ So the file with the system LaTeX enabled no longer works. ps2pdf still works, but the error with pstopdf is important, because for example Preview.app on mac relies on pstopdf, not ps2pdf. >>>>> >>>>> I tried this on two different computers under MacOS 10.6, and tried with ghostscript 8.70 and 8.71 installed, and the problem occurs either way. >>>>> >>>>> Does anyone know what might be causing this? I submitted a bug report a little while back about this >>>>> >>>>> https://sourceforge.net/tracker/?func=detail&aid=2974953&group_id=80706&atid=560720 >>>>> >>>>> Thanks in advance for any help, >>>>> >>>>> Thomas >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Download Intel® Parallel Studio Eval >>>>> Try the new software tools for yourself. Speed compiling, find bugs >>>>> proactively, and fine-tune applications for parallel performance. >>>>> See why Intel Parallel Studio got high marks during beta. >>>>> http://p.sf.net/sfu/intel-sw-dev >>>>> _______________________________________________ >>>>> Matplotlib-users mailing list >>>>> Mat...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>>> >>>> -- >>>> Michael Droettboom >>>> Science Software Branch >>>> Operations and Engineering Division >>>> Space Telescope Science Institute >>>> Operated by AURA for NASA >>>> >>>> >>> >>> >> >> -- >> Michael Droettboom >> Science Software Branch >> Operations and Engineering Division >> Space Telescope Science Institute >> Operated by AURA for NASA >> > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
On 4/7/2010 4:09 AM, Padma TAN wrote: > Your currently selected backend, 'agg' does not support show(). Use a different backend. Alan Isaac
Hello, On Wed, Apr 7, 2010 at 10:09, Padma TAN <ta...@gi...> wrote: > > > Hi, > > We have an error when running python matplotlib. Please assist. Thanks in > advance! J > > > [cheungcwe@changeme:/home/cheungcwe/CB3] python Python 2.6.2 (r262:71600, > Sep 15 2009, 01:44:49) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import pylab >>>> pylab.scatter([1,2,3],[1,2,3]) > <matplotlib.collections.CircleCollection object at 0x1d013090> >>>> pylab.show() > /usr/local/python2.6/lib/python2.6/site-packages/matplotlib/backends/__init__.py:41: > UserWarning: > Your currently selected backend, 'agg' does not support show(). > Please select a GUI backend in your matplotlibrc file > ('/usr/local/python2.6/lib/python2.6/site-packages/matplotlib/mpl-data/matplotlibrc') > or with matplotlib.use() > (backend, matplotlib.matplotlib_fname())) The problem is described here: in the matplotlibrc file, that's the configuration file for mpl (so it's possibly the system one, in /etc/), you have line like backend = 'Agg' The agg backend can't be used for interactive usage, so it doesn't support any show() method, but only the one to save the figure as a file, with savefig(). if you want to use mpl interactive, set the backend to 'TkAgg' (it should be available on your system too) or 'GtkAgg' if you use Gnome or 'Qt4Agg' if you use KDE. For more information, research for "matplotlib backend" in the mpl documentation or on google Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
On Wed, Apr 7, 2010 at 4:09 AM, Padma TAN <ta...@gi...> wrote: > > > Hi, > > We have an error when running python matplotlib. Please assist. Thanks in > advance! J > > > [cheungcwe@changeme:/home/cheungcwe/CB3] python Python 2.6.2 (r262:71600, > Sep 15 2009, 01:44:49) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import pylab >>>> pylab.scatter([1,2,3],[1,2,3]) > <matplotlib.collections.CircleCollection object at 0x1d013090> >>>> pylab.show() > /usr/local/python2.6/lib/python2.6/site-packages/matplotlib/backends/__init__.py:41: > UserWarning: > Your currently selected backend, 'agg' does not support show(). > Please select a GUI backend in your matplotlibrc file > ('/usr/local/python2.6/lib/python2.6/site-packages/matplotlib/mpl-data/matplotlibrc') > or with matplotlib.use() > (backend, matplotlib.matplotlib_fname())) Try specifying a gui backend like TkAgg, Qt4Agg, GtkAgg in your matplotlibrc file. For more information on this file, see http://matplotlib.sourceforge.net/users/customizing.html Darren
Hi, We have an error when running python matplotlib. Please assist. Thanks in advance! :) [cheungcwe@changeme:/home/cheungcwe/CB3] python Python 2.6.2 (r262:71600, Sep 15 2009, 01:44:49) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pylab >>> pylab.scatter([1,2,3],[1,2,3]) <matplotlib.collections.CircleCollection object at 0x1d013090> >>> pylab.show() /usr/local/python2.6/lib/python2.6/site-packages/matplotlib/backends/__init__.py:41: UserWarning: Your currently selected backend, 'agg' does not support show(). Please select a GUI backend in your matplotlibrc file ('/usr/local/python2.6/lib/python2.6/site-packages/matplotlib/mpl-data/matplotlibrc') or with matplotlib.use() (backend, matplotlib.matplotlib_fname())) >>> [root@changeme~]# uname -a Linux plap03 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux Python 2.6.2 (r262:71600, Sep 15 2009, 01:44:49) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> >>> >>> import matplotlib >>> print matplotlib.__version__ 0.99.1.1 [root@changeme ~]# gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Regards, Padma Tan Genome Institute of Singapore 60 Biopolis Street, Genome #02-01 Singapore 138672 DID : 6478 8671 Fax : 6478 9058 email: ta...@gi... -------------------------------------------------------------------------------------------------------------------------------------------------------- This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you. ----------------------------------------------------------------------------------------------------------------------------------------------------------