SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S


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


Showing 10 results of 10

From: Michael D. <md...@st...> - 2008年01月29日 21:15:18
Ok. I'll change this in SVN.
Nils Wagner wrote:
> On 2008年1月29日 15:33:46 -0500
> Michael Droettboom <md...@st...> wrote:
>> Ok, to save me the trouble of installing Python-2.4 (which doesn't 
>> feel like the culprit, but appears to be the only variable other than 
>> platform) I seem to recall a discussion on numpy about coercion of 
>> scalars to Python int's that may be the culprit here. Can you please 
>> add the following line above the line where the exception is raised in 
>> path.py, line 201, and then send me the output:
>>
>> print code, type(code), codes, type(codes)
>>
> 
> 1 <type 'numpy.uint8'> [1 2 1 2] <type 'numpy.ndarray'>
> 2 <type 'numpy.uint8'> [1 2 1 2] <type 'numpy.ndarray'>
> 1 <type 'numpy.uint8'> [1 2 1 2] <type 'numpy.ndarray'>
> 2 <type 'numpy.uint8'> [1 2 1 2] <type 'numpy.ndarray'>
> 
>> Also, does changing:
>>
>> num_vertices = NUM_VERTICES[code]
>>
>> to
>>
>> num_vertices = NUM_VERTICES[int(code)]
>>
>> resolve the problem?
> 
> Yes.
> 
> Cheers,
> Nils
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Neil C. <nei...@gm...> - 2008年01月29日 20:48:43
I think it would be a shame to lose the current matplotlib 3d plotting
functionality, even if it's not ideal. I've found it very useful for
plotting small sets of data, and much more straightforward to use than
Mayavi or other vtk-based 3d plotting packages.
Having said that, I'm not volunteering to make the 3d modules work
with the new transforms :-/
Neil
>
> Message: 2
> Date: 2008年1月29日 15:07:31 -0500
> From: Michael Droettboom <md...@st...>
> Subject: Re:
> To: Johann Cohen-Tanugi <co...@sl...>, matplotlib
> development list <mat...@li...>
> Message-ID: <479...@st...>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Johann Cohen-Tanugi wrote:
> > is basemap deferred as well? It is kinda 3D no?
>
> I understand basemap is working reasonably well. But Jeff Whitaker
> would know better than I.
>
> > Second a color map or
> > contour plot is kinda 2D either...... unless I am confusing what you
> > mean by 2D : 2D in rendering or in data structure?
>
> I mean 2D in rendering -- matplotlib is fundamentally built on top of 2D
> rendering APIs, which makes doing a lot of 3D things more
> computationally expensive and less flexible than a dedicated 3D plotting
> package.
>
> > Anyway, I am probably not the motivated individual to tackle this work,
> > most of all because I do not know matplotlib internals, I am just a
> > user, albeit with coding abilities.
>
> Well, anyone can jump in ;) Unfortunately, I probably don't have the
> time for that now. I believe John Hunter has some more fully-formed
> ideas about where 3D in matplotlib should go and where the best path may
> be going forward.
>
> Cheers,
> Mike
>
> > Michael Droettboom wrote:
> >> Yes, it is probably a good-sized chunk of work. In the recent
> >> transforms overhaul, the 3d stuff was deferred, so it hasn't been
> >> updated to use the new "way of doing things".
> >>
> >> Just "getting it to work as it did before" is probably less work than
> >> "rethinking what 3D means in the context of matplotlib", which is a
> >> fundamentally 2D plotting environment. And there was some thinking
> >> along the lines of "why bother with the former, if the latter may be
> >> on the horizon?..." But I think it's going to take some motivated
> >> individual to step up and do either of these.
> >>
> >> Cheers,
> >> Mike
> >>
From: Michael D. <md...@st...> - 2008年01月29日 20:33:55
Ok, to save me the trouble of installing Python-2.4 (which doesn't feel 
like the culprit, but appears to be the only variable other than 
platform) I seem to recall a discussion on numpy about coercion of 
scalars to Python int's that may be the culprit here. Can you please 
add the following line above the line where the exception is raised in 
path.py, line 201, and then send me the output:
 print code, type(code), codes, type(codes)
Also, does changing:
 num_vertices = NUM_VERTICES[code]
to
 num_vertices = NUM_VERTICES[int(code)]
resolve the problem?
Cheers,
Mike
Jörgen Stenarson wrote:
> Michael Droettboom skrev:
>> Interesting. I can't reproduce this with Python-2.5 on Linux. What 
>> version of numpy do you have installed? Can you send your 
>> matplotlibrc file?
>>
> 
> I tried upgrading numpy to the latest svn version but I still see the 
> same problem. My matplotlibrc file is just the default created at 
> buildtime, I have attached it.
> 
> /Jörgen
> 
> 
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: <jor...@bo...> - 2008年01月29日 20:24:49
Attachments: matplotlibrc
Michael Droettboom skrev:
> Interesting. I can't reproduce this with Python-2.5 on Linux. What 
> version of numpy do you have installed? Can you send your matplotlibrc 
> file?
> 
I tried upgrading numpy to the latest svn version but I still see the 
same problem. My matplotlibrc file is just the default created at 
buildtime, I have attached it.
/Jörgen
From: Michael D. <md...@st...> - 2008年01月29日 20:24:21
For some reason, when axis() is called, the "emit" flag (which 
determines whether to update all of the shared axes) was being set to 
False by default. There may be a good reason for this that I'm not 
aware of, but it seems reasonably harmless, and doesn't break the 
existing shared_axis examples. I've fixed this on the branch and the 
trunk, but I'm happy to revert if anyone says "stop, bad idea!!!"
Cheers,
Mike
Jörgen Stenarson wrote:
> Hi,
> 
> I have problem setting the axis limits when using a twinx plot. I assume 
> it should be possible to set both x-axis limits after a pylab.twinx() 
> call by issuing only one call to pylab.axis.
> 
> The attached tries to plot the same figure in two different ways the 
> first way ends up with different x axis limits for the two plots. The 
> second shows my workaround.
> 
> /Jörgen
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
Johann Cohen-Tanugi wrote:
> is basemap deferred as well? It is kinda 3D no?
I understand basemap is working reasonably well. But Jeff Whitaker 
would know better than I.
> Second a color map or 
> contour plot is kinda 2D either...... unless I am confusing what you 
> mean by 2D : 2D in rendering or in data structure?
I mean 2D in rendering -- matplotlib is fundamentally built on top of 2D 
rendering APIs, which makes doing a lot of 3D things more 
computationally expensive and less flexible than a dedicated 3D plotting 
package.
> Anyway, I am probably not the motivated individual to tackle this work, 
> most of all because I do not know matplotlib internals, I am just a 
> user, albeit with coding abilities.
Well, anyone can jump in ;) Unfortunately, I probably don't have the 
time for that now. I believe John Hunter has some more fully-formed 
ideas about where 3D in matplotlib should go and where the best path may 
be going forward.
Cheers,
Mike
> Michael Droettboom wrote:
>> Yes, it is probably a good-sized chunk of work. In the recent 
>> transforms overhaul, the 3d stuff was deferred, so it hasn't been 
>> updated to use the new "way of doing things".
>>
>> Just "getting it to work as it did before" is probably less work than 
>> "rethinking what 3D means in the context of matplotlib", which is a 
>> fundamentally 2D plotting environment. And there was some thinking 
>> along the lines of "why bother with the former, if the latter may be 
>> on the horizon?..." But I think it's going to take some motivated 
>> individual to step up and do either of these.
>>
>> Cheers,
>> Mike
>>
>> Johann Cohen-Tanugi wrote:
>>> is there a lot of work involved in getting it in? I can wait a bit, 
>>> or even try to help out.... It is not critical as I know plenty other 
>>> way to get the plot I want.... Just that I love matplotlib and scipy
>>>
>>> best,
>>> Johann
>>>
>>> Michael Droettboom wrote:
>>>> The axes3d stuff is not currently working on the SVN trunk. You 
>>>> probably want to use 0.91.2 or the v0_91_maint branch in SVN instead.
>>>>
>>>> Cheers,
>>>> Mike
>>>>
>>>> Johann Cohen-Tanugi wrote:
>>>>> hello,
>>>>> thanks for answering. I actually fail with the import :
>>>>> In [1]: from matplotlib import axes3d
>>>>> --------------------------------------------------------------------------- 
>>>>>
>>>>> ImportError Traceback (most recent 
>>>>> call last)
>>>>>
>>>>> /home/cohen/bstw/<ipython console> in <module>()
>>>>>
>>>>> /usr/lib/python2.5/site-packages/matplotlib/axes3d.py in <module>()
>>>>> 14 from axes import Axes
>>>>> 15 import cbook
>>>>> ---> 16 from transforms import unit_bbox
>>>>> 17
>>>>> 18 import numpy as npy
>>>>>
>>>>> ImportError: cannot import name unit_bbox
>>>>>
>>>>> any idea?
>>>>>
>>>>>> ---------------------------------------------------------------------- 
>>>>>>
>>>>>>
>>>>>> Message: 1
>>>>>> Date: 2008年1月27日 22:18:00 +0000
>>>>>> From: "Neil Crighton" <nei...@gm...>
>>>>>> Subject: Re: [Matplotlib-users] plotting a series of 3D points and
>>>>>> picker=True and 3D
>>>>>> To: mat...@li...
>>>>>> Message-ID:
>>>>>> <637...@ma...>
>>>>>> Content-Type: text/plain; charset=ISO-8859-1
>>>>>>
>>>>>> I think scatter3D does what you want:
>>>>>>
>>>>>> from matplotlib import axes3d
>>>>>> import pylab as pl
>>>>>> fig = pl.figure()
>>>>>> ax = axes3d.Axes3D(fig)
>>>>>> ax.scatter3D(data[:,0],data[:,1],data[:,2])
>>>>>> ax.set_xlabel('X value')
>>>>>> ax.set_ylabel('Y value')
>>>>>> ax.set_zlabel('Z value')
>>>>>> pl.show()
>>>>>>
>>>>>> You could also change the colour and size of each point based on 
>>>>>> other
>>>>>> array values:
>>>>>>
>>>>>> col = ax.scatter3D(data[:,0], data[:,1], data[:,2], c=data[:,3],
>>>>>> cmap=pl.cm.jet, s=data[:,4])
>>>>>> cbar = fig.colorbar(col,shrink=0.9,extend='both')
>>>>>> cbar.ax.set_ylabel('axis 3 data values')
>>>>>>
>>>>>> Pretty nifty.
>>>>>>
>>>>>> Neil
>>>>>>
>>>>>> 
>>>>>
>>>>> ------------------------------------------------------------------------- 
>>>>>
>>>>> This SF.net email is sponsored by: Microsoft
>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>>> _______________________________________________
>>>>> 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
From: Michael D. <md...@st...> - 2008年01月29日 19:59:46
Interesting. I can't reproduce this with Python-2.5 on Linux. What 
version of numpy do you have installed? Can you send your matplotlibrc 
file?
Cheers,
Mike
Jörgen Stenarson wrote:
> Hi,
> 
> I think there is a bug in the pdf backend (png-files save ok) that makes 
> plots crash when they contain a marker.
> 
> The attached script crashes on the last savefig. I have also attached a 
> traceback.
> 
> I run matplotlib-svn-4904 on windows with python 2.4
> 
> /Jörgen
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
Yes, it is probably a good-sized chunk of work. In the recent 
transforms overhaul, the 3d stuff was deferred, so it hasn't been 
updated to use the new "way of doing things".
Just "getting it to work as it did before" is probably less work than 
"rethinking what 3D means in the context of matplotlib", which is a 
fundamentally 2D plotting environment. And there was some thinking 
along the lines of "why bother with the former, if the latter may be on 
the horizon?..." But I think it's going to take some motivated 
individual to step up and do either of these.
Cheers,
Mike
Johann Cohen-Tanugi wrote:
> is there a lot of work involved in getting it in? I can wait a bit, or 
> even try to help out.... It is not critical as I know plenty other way 
> to get the plot I want.... Just that I love matplotlib and scipy
> 
> best,
> Johann
> 
> Michael Droettboom wrote:
>> The axes3d stuff is not currently working on the SVN trunk. You 
>> probably want to use 0.91.2 or the v0_91_maint branch in SVN instead.
>>
>> Cheers,
>> Mike
>>
>> Johann Cohen-Tanugi wrote:
>>> hello,
>>> thanks for answering. I actually fail with the import :
>>> In [1]: from matplotlib import axes3d
>>> --------------------------------------------------------------------------- 
>>>
>>> ImportError Traceback (most recent call 
>>> last)
>>>
>>> /home/cohen/bstw/<ipython console> in <module>()
>>>
>>> /usr/lib/python2.5/site-packages/matplotlib/axes3d.py in <module>()
>>> 14 from axes import Axes
>>> 15 import cbook
>>> ---> 16 from transforms import unit_bbox
>>> 17
>>> 18 import numpy as npy
>>>
>>> ImportError: cannot import name unit_bbox
>>>
>>> any idea?
>>>
>>>> ----------------------------------------------------------------------
>>>>
>>>> Message: 1
>>>> Date: 2008年1月27日 22:18:00 +0000
>>>> From: "Neil Crighton" <nei...@gm...>
>>>> Subject: Re: [Matplotlib-users] plotting a series of 3D points and
>>>> picker=True and 3D
>>>> To: mat...@li...
>>>> Message-ID:
>>>> <637...@ma...>
>>>> Content-Type: text/plain; charset=ISO-8859-1
>>>>
>>>> I think scatter3D does what you want:
>>>>
>>>> from matplotlib import axes3d
>>>> import pylab as pl
>>>> fig = pl.figure()
>>>> ax = axes3d.Axes3D(fig)
>>>> ax.scatter3D(data[:,0],data[:,1],data[:,2])
>>>> ax.set_xlabel('X value')
>>>> ax.set_ylabel('Y value')
>>>> ax.set_zlabel('Z value')
>>>> pl.show()
>>>>
>>>> You could also change the colour and size of each point based on other
>>>> array values:
>>>>
>>>> col = ax.scatter3D(data[:,0], data[:,1], data[:,2], c=data[:,3],
>>>> cmap=pl.cm.jet, s=data[:,4])
>>>> cbar = fig.colorbar(col,shrink=0.9,extend='both')
>>>> cbar.ax.set_ylabel('axis 3 data values')
>>>>
>>>> Pretty nifty.
>>>>
>>>> Neil
>>>>
>>>> 
>>>
>>> ------------------------------------------------------------------------- 
>>>
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> 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
From: <jor...@bo...> - 2008年01月29日 19:53:02
Attachments: twin-bug.py
Hi,
I have problem setting the axis limits when using a twinx plot. I assume 
it should be possible to set both x-axis limits after a pylab.twinx() 
call by issuing only one call to pylab.axis.
The attached tries to plot the same figure in two different ways the 
first way ends up with different x axis limits for the two plots. The 
second shows my workaround.
/Jörgen
From: <jor...@bo...> - 2008年01月29日 19:45:29
Hi,
I think there is a bug in the pdf backend (png-files save ok) that makes 
plots crash when they contain a marker.
The attached script crashes on the last savefig. I have also attached a 
traceback.
I run matplotlib-svn-4904 on windows with python 2.4
/Jörgen

Showing 10 results of 10

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 によって変換されたページ (->オリジナル) /