SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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)
2
(1)
3
(6)
4
(19)
5
(11)
6
(2)
7
8
(5)
9
(13)
10
(25)
11
(28)
12
(6)
13
(10)
14
(3)
15
(4)
16
(8)
17
(16)
18
(12)
19
(16)
20
(12)
21
(11)
22
(13)
23
(11)
24
(22)
25
(28)
26
(11)
27
(8)
28
(7)
29
(19)
30
(3)
31
(20)




Showing 12 results of 12

From: Jeff W. <js...@fa...> - 2006年01月18日 23:54:18
On 2006年1月18日 11:32:51 -0500, "Derrick Snowden"
<Der...@no...> said:
> Jeff, Actually, in the long and drawn out email describing the various 
> steps I tried, I mentioned switching back and forth between Numeric and 
> numpy. I haven't tried numarray yet. The version info is below...
> 
> numpy: 0.9.2
> Numeric: 23.7
> 
> -Derrick
Derrick: Sorry, I missed that. I'm at a loss then, since I can't
reproduce that error on any of the systems I have access too (Macos x,
linux 32 bit, and ia64). I wonder if anyone else out there with x86_64
would be willing to try the latest basemap from CVS?
-Jeff
-----
Jeff Whitaker
js...@fa...
From: Faheem M. <fa...@em...> - 2006年01月18日 23:21:26
Hi,
The current boxplot function in matplotlib does not appear to support
labels for individual boxplots, if there are several on the same plot.
I know I can manually add labels, but would prefer not to do so, since
I am trying to automate the process of graph creation as much as
possible.
Is there perhaps something that I am overlooking, that would make this
possible?
I'm currently using matplotlib 0.82, as packaged by Debian. Sorry, I
know this is out of date, but it is easier to use the Debian package.
Thanks in advance for any suggestions.
 Faheem.
From: Vidar G. <vid...@37...> - 2006年01月18日 21:51:04
is something like this ready-made in matplotlib,
corresponding to the load() function?:
 save('output.csv', data, fmt='%1.4e', delimiter=';')
From: Michael N. <sui...@ya...> - 2006年01月18日 21:43:20
Hi there - anyone know of a ubuntu debian repository that has matplotlib? Its not in the 'universe' repository
 
 
		
---------------------------------
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!
>>>>> ""Randewijk" == "Randewijk P-J <pjr...@su...>" <pjr...@su...> writes:
 "Randewijk> Dear John, Its 3 months later, but rather late than
 "Randewijk> never:
Thanks -- we can incorporate your changes with this information, but
it would speed things along if you could submit a proper patch against
current matplotlib cvs
> cvs diff -u
Thanks,
JDH
From: John H. <jdh...@ac...> - 2006年01月18日 17:12:39
>>>>> "Darren" == Darren Dale <dd...@co...> writes:
 Darren> from src/_gtkagg.cpp:1: /usr/include/features.h:150:1:
 Darren> warning: this is the location of the previous definition
 Darren> In file included from src/_gtkagg.cpp:10:
 Darren> /usr/include/pygtk-2.0/pygobject.h:140: error: expected
 Darren> `,' or `...' before "typename"
Hey Darren, 
Looks like this old favorite:
 http://matplotlib.sourceforge.net/faq.html#PYGTK24
JDH
From: Darren D. <dd...@co...> - 2006年01月18日 17:03:28
I would like to build mpl on a system running Redhat Enterprise Linux 4,
which includes Python-2.3.4, gtk-2.4 and pygtk-2.4, all packages are up to
date with the RHEL repositories.
I've run into a problem during the build, and would like to ask for
suggestions.
Thanks,
Darren
In file included from /usr/include/python2.3/Python.h:8,
 from /usr/include/pygtk-2.0/pygobject.h:5,
 from src/_gtkagg.cpp:10:
/usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:26,
 from
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../../include/c++/3.4.4/cstring:51,
 from src/_gtkagg.cpp:1:
/usr/include/features.h:150:1: warning: this is the location of the
previous definition
In file included from src/_gtkagg.cpp:10:
/usr/include/pygtk-2.0/pygobject.h:140: error: expected `,' or `...'
before "typename"
/usr/include/pygtk-2.0/pygobject.h:147: error: expected `,' or `...'
before "typename"
In file included from /usr/include/python2.3/Python.h:8,
 from /usr/include/pygtk-2.0/pygobject.h:5,
 from src/_gtkagg.cpp:10:
/usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:26,
 from
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../../include/c++/3.4.4/cstring:51,
 from src/_gtkagg.cpp:1:
/usr/include/features.h:150:1: warning: this is the location of the
previous definition
In file included from src/_gtkagg.cpp:10:
/usr/include/pygtk-2.0/pygobject.h:140: error: expected `,' or `...'
before "typename"
/usr/include/pygtk-2.0/pygobject.h:147: error: expected `,' or `...'
before "typename"
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -fPIC
-I/usr/local/include -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I.
-I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2
-I/usr/include/freetype2 -I./freetype2 -Isrc/freetype2 -Iswig/freetype2
-Iagg23/include/freetype2 -I./freetype2 -I/usr/local/include/freetype2
-I/usr/include/freetype2 -I./freetype2 -I/usr/local/include -I/usr/include
-I. -I/usr/include/pygtk-2.0
-I/usr/include/glib-2.0-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include-I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -c src/_gtkagg.cpp -o
build/temp.linux-i686-2.3/src/_gtkagg.o" failed with exit status 1
From: Derrick S. <Der...@no...> - 2006年01月18日 16:32:23
Jeff, Actually, in the long and drawn out email describing the various 
steps I tried, I mentioned switching back and forth between Numeric and 
numpy. I haven't tried numarray yet. The version info is below...
numpy: 0.9.2
Numeric: 23.7
-Derrick
Jeff Whitaker wrote:
>On 2006年1月17日 12:18:37 -0500, "Derrick Snowden"
><Der...@no...> said:
> 
>
>>Jeff,
>>
>>Thanks for working on this, but it seems the problem is not solved. I 
>>retrieved basemap.py from CVS and reinstalled basemap. I then received 
>>the same error further down in drawparallels. So, I made the change 
>>manually (removed the ,'f') from the NX.ones call) and the error then 
>>popped up in drawmeridians. Next I did a global search/replace and it 
>>seems that was overkill. After removing all of the ,'f' from any 
>>numerix function I tried again and received the error below.
>>
>>[snowden@okeanos examples]$ python nytolondon.py
>>
>> 
>>
>
>Derrick: You didn't mention, are you using numpy, numeric or numarray?
>
>
>-Jeff
>-----
>Jeff Whitaker
>js...@fa...
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>Matplotlib-users mailing list
>Mat...@li...
>https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> 
>
-- 
Derrick Snowden
PhOD/AOML/NOAA
4301 Rickenbacker Causeway
Miami, FL 33149
Office: 305.361.4322 Fax: 305.361.4392
From: Charlie M. <cw...@gm...> - 2006年01月18日 14:13:55
We haven't put support in yet, but it is very easy to do. I will add
this to cvs very soon. For now:
Edit basemap's setup.py and replace "from distutils.core import setup"
with "from setuptools import setup".
In BOTH mpl's and basemap's setup.py file add this option to the setup
method, "namespace_packages =3D 'matplotlib.toolkits'".
Both mpl and basemap should be installed as eggs. The namespace is
how setuptools know separate packages share... a namespace.
Let us know if you run into problems.
- Charlie
On 1/18/06, Tom Loredo <lo...@as...> wrote:
>
> Hi folks,
>
> I recently installed setuptools, and now whenever I build mpl
> (I'm using 0.86), it gets installed in site-packages as an egg.
> Fine, as far as use within python is concerned it works just
> as before. But I just tried to install basemap, and the
> installer puts it in site-packages in a new matplotlib directory
> (i.e., not in the matplotlib...egg directory). If I try
> to use it, I get an import error because it's not found
> in the egg (which must the first place Python finds mpl).
>
> How can I properly install an mpl toolkit in the egg scenario;
> or if there is no easy way, how can I "turn off" eggs so when
> I build mpl it makes a normal install. Just deleting the
> build directory (and the egg from site-packages) and rebuilding
> from scratch didn't do it.
>
> Thanks,
> Tom
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Tom L. <lo...@as...> - 2006年01月18日 05:16:15
Hi folks,
I recently installed setuptools, and now whenever I build mpl
(I'm using 0.86), it gets installed in site-packages as an egg.
Fine, as far as use within python is concerned it works just
as before. But I just tried to install basemap, and the
installer puts it in site-packages in a new matplotlib directory
(i.e., not in the matplotlib...egg directory). If I try
to use it, I get an import error because it's not found 
in the egg (which must the first place Python finds mpl).
How can I properly install an mpl toolkit in the egg scenario;
or if there is no easy way, how can I "turn off" eggs so when
I build mpl it makes a normal install. Just deleting the
build directory (and the egg from site-packages) and rebuilding
from scratch didn't do it.
Thanks,
Tom
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
Dear John,
Its 3 months later, but rather late than never:
> -----Original Message-----
> From: John Hunter [mailto:jdh...@ac...]=20
> Sent: 26 October 2005 23:13
> To: Randewijk P-J <pjr...@su...>
> Cc: mat...@li...
> Subject: Re: [Matplotlib-users] "Superior" LaTeX text=20
> processing using a "Low Level Font Command" input file in=20
> texmanager.py & backend_ps.py
>=20
>=20
> >>>>> ""Randewijk" =3D=3D "Randewijk P-J <pjr...@su...>"=20
> >>>>> <pjr...@su...> writes:
>=20
> PJ> Dear All, I have hacked a bit at texmanager.py and
> PJ> backend_ps.py in order to generate "superior" text
> PJ> output using LaTeX.
>=20
> Thanks for the changes!
>=20
> PJ> It involves "including" a user specific "low level
> PJ> font command" input file useing some "new" rcParams
> PJ> and the savefig command with the PS backend in you
> PJ> main "pylab" script:
...
> I worry that this is starting to get hairy -- perhaps we=20
> should look into separating the latex from the code more cleanly.
>=20
> JDH
The LaTeX low level font commands are now accessible using either =
rcParams[...] or the `matplotlibrc' file instead of a seperate input =
file as proposed previously.=20
e.g. in you pylab script file:
rcParams['latex.font.uselowlevel']=3D'True'
rcParams['latex.font.size']=3D'12' # Fontsize, e.g. 10, 11, 12, =
...
rcParams['latex.font.baselineskip']=3D'14'# Baselineskip - usually 1.2 x =
Fontsize
rcParams['latex.font.encoding']=3D'T1' # T1 - Latin 1, etc.
rcParams['latex.font.family']=3D'phv' # cmr - Computer Modern Roman, =
ptm - Times-Roman, phv - Helvetica, etc.
rcParams['latex.font.series']=3D'm' # m - Medium, b - Bold, bc - =
Bold Condensed, bx - Bold Expanded
rcParams['latex.font.shape']=3D'n' # n - Upright (Normal), it - =
Italic, sl - Slanted,
 # sc - Small Caps, ui - Upright =
Italics, ol - Outline
To bypass a specific low level command, set the rc parameter to an empty =
string, e.g.
rcParams['latex.font.size']=3D'' # Fontsize, e.g. 10, 11, 12, =
...
The default fontsize will now be used.
The code added to `backend_ps.py' and `texmanager.py' are basically:
...
 fontcmd =3D ''
 if rcParams['latex.font.uselowlevel'] =3D=3D 'True':
 if rcParams['latex.font.size'] and =
rcParams['latex.font.baselineskip']:
 fontcmd +=3D r'\fontsize{%s}{%s}' % =
(rcParams['latex.font.size'], rcParams['latex.font.baselineskip'])
 if rcParams['latex.font.encoding']:
 fontcmd +=3D r'\fontencoding{%s}'% =
rcParams['latex.font.encoding']
 if rcParams['latex.font.family']:
 fontcmd +=3D r'\fontfamily{%s}'% =
rcParams['latex.font.family']
 if rcParams['latex.font.series']:
 fontcmd +=3D r'\fontseries{%s}'% =
rcParams['latex.font.series']
 if rcParams['latex.font.shape']:
 fontcmd +=3D r'\fontshape{%s}'% =
rcParams['latex.font.shape']
 fontcmd +=3D r'\selectfont '
...
(or see attached)
The validations to the added param keys in `__init__.py' maybe needs =
some more work...
>=20
> I think it would be much easier for us to deal with this if=20
> you submit it as a proper patch against CVS and upload it to=20
> the sf site. Could I trouble you to do that?
>=20
How do I go about doing that?
I have never used CVS before. (Only RCS for my own stuff.)
I have installed TortoiseCSV (yes, unfortunately I am a win32 user...), =
but how do I proceed from here...
I started reading the part `Developer CVS Access via SSH' (instead of =
`Anonymous CVS Access')
I have created a SF login, but can't get past the:
`Log in to SourceForge.net' admin page...
http://sourceforge.net/account/login.php?return_to=3D%2Fproject%2Fadmin%2=
F%3Fgroup_id%3D80706
Kind regards,
 Peter-Jan Randewijk
=20
-oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOo-=20
 Dep. Electrical & Electronic Engineering - E313
 Stellenbosch University
 Private Bag X1=20
 Matieland, 7603
 South Africa
 Tel: +27 (0) 21 808 4457 (w)=20
 Fax: +27 (0) 21 808 3951 (w)=20
 Tel: +27 (0) 21 883 8592 (h)=20
 Cell: +27 (0) 83 556 5809 (h)
 eMail: pjr...@su... (w)
-oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOo-=20
From: Jeff W. <js...@fa...> - 2006年01月18日 02:50:27
On 2006年1月17日 12:18:37 -0500, "Derrick Snowden"
<Der...@no...> said:
> Jeff,
> 
> Thanks for working on this, but it seems the problem is not solved. I 
> retrieved basemap.py from CVS and reinstalled basemap. I then received 
> the same error further down in drawparallels. So, I made the change 
> manually (removed the ,'f') from the NX.ones call) and the error then 
> popped up in drawmeridians. Next I did a global search/replace and it 
> seems that was overkill. After removing all of the ,'f' from any 
> numerix function I tried again and received the error below.
> 
> [snowden@okeanos examples]$ python nytolondon.py
>
Derrick: You didn't mention, are you using numpy, numeric or numarray?
-Jeff
-----
Jeff Whitaker
js...@fa...

Showing 12 results of 12

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /