Re: [matplotlib-devel] mplot3d tutorial, demo code needs slight fix

2011-12-12 Thread Benjamin Root
On Sat, Dec 10, 2011 at 1:58 PM, cgraves wrote: > > For the 3rd contour example at > http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html , the > code ( > http://matplotlib.sourceforge.net/mpl_examples/mplot3d/contour3d_demo3.py) > should be changed from ax.set_xlim(-40, 40) > to

[matplotlib-devel] mplot3d tutorial, demo code needs slight fix

2011-12-12 Thread cgraves
For the 3rd contour example at http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html , the code ( http://matplotlib.sourceforge.net/mpl_examples/mplot3d/contour3d_demo3.py ) should be changed from ax.set_xlim(-40, 40) to ax.set_xlim3d(-40, 40) for the code to work. Same for ylim and

Re: [matplotlib-devel] mplot3d "set_zlim" x "set_zlim3d" ?

2011-11-27 Thread Benjamin Root
On Sunday, November 27, 2011, Roberto Colistete Jr. < roberto.colist...@gmail.com> wrote: > Hi, > > In MatPlotLib 1.0.0 the example 'mplot3d/surface3d_demo.py' has the > line : > ax.set_zlim3d(-1.01, 1.01) > while the same file in MatPlotLib 1.1.0 has : > ax.set_zlim(-1.01, 1.01) > > If

[matplotlib-devel] mplot3d "set_zlim" x "set_zlim3d" ?

2011-11-27 Thread Roberto Colistete Jr.
Hi, In MatPlotLib 1.0.0 the example 'mplot3d/surface3d_demo.py' has the line : ax.set_zlim3d(-1.01, 1.01) while the same file in MatPlotLib 1.1.0 has : ax.set_zlim(-1.01, 1.01) If I try to use ax.set_zlim(-1.01, 1.01) with MatPlotLib 1.0.0 I get : "$ python surface3d_demo.py Trace

Re: [matplotlib-devel] mplot3d/axis3d.py : scientific notation

2011-07-17 Thread Benjamin Root
On Saturday, July 16, 2011, OC wrote: > Hello, > > scientific notation is not available in 3D axes with matplotlib 1.0.1. > > When the ScalarFormatter uses scientific notation, the exponent is > indicated at the end of the axis for 2D graphics, but in 3D graphics > this exponent is simply forgotte

[matplotlib-devel] mplot3d/axis3d.py : scientific notation

2011-07-17 Thread OC
Hello, scientific notation is not available in 3D axes with matplotlib 1.0.1. When the ScalarFormatter uses scientific notation, the exponent is indicated at the end of the axis for 2D graphics, but in 3D graphics this exponent is simply forgotten. I think the file mpl_toolkits/mplot3d/axis3d.

Re: [matplotlib-devel] mplot3d/contourf3d_demo2.py not committed

2011-04-15 Thread Benjamin Root
On Fri, Apr 15, 2011 at 9:27 AM, Jouni K. Seppänen wrote: > Benjamin Root writes: > > > Would a change to the v1.0.x branch "stay" on the v1.0.x branch, or is > > there something I have to do to prevent subsequent merges from going > > into master? > > Since v1.0.x is supposed to be merged into

Re: [matplotlib-devel] mplot3d/contourf3d_demo2.py not committed

2011-04-15 Thread Jouni K . Seppänen
Benjamin Root writes: > Would a change to the v1.0.x branch "stay" on the v1.0.x branch, or is > there something I have to do to prevent subsequent merges from going > into master? Since v1.0.x is supposed to be merged into master frequently, your change would propagate into master. To prevent i

Re: [matplotlib-devel] mplot3d/contourf3d_demo2.py not committed

2011-04-14 Thread Benjamin Root
On Thu, Apr 14, 2011 at 5:54 PM, John Hunter wrote: > > > > > On Apr 14, 2011, at 5:08 PM, Benjamin Root wrote: > > It was added a while back, unless I only added it to the master...? > > > Could be. It appears the mplot3d tutorial rest document in the release > branch refers to it, but it is no

Re: [matplotlib-devel] mplot3d/contourf3d_demo2.py not committed

2011-04-14 Thread John Hunter
On Apr 14, 2011, at 5:08 PM, Benjamin Root wrote: > It was added a while back, unless I only added it to the master...? > Could be. It appears the mplot3d tutorial rest document in the release branch refers to it, but it is not committed in the branch. You can either commit the file or re

Re: [matplotlib-devel] mplot3d/contourf3d_demo2.py not committed

2011-04-14 Thread Benjamin Root
It was added a while back, unless I only added it to the master...? Ben Root On Thu, Apr 14, 2011 at 4:39 PM, John Hunter wrote: > Doc build is failing with a missing file > > .. plot:: mpl_examples/mplot3d/contourf3d_demo2.py > > I can work around it, but this should get added... > > JDH > ---

[matplotlib-devel] mplot3d/contourf3d_demo2.py not committed

2011-04-14 Thread John Hunter
Doc build is failing with a missing file .. plot:: mpl_examples/mplot3d/contourf3d_demo2.py I can work around it, but this should get added... JDH -- Benefiting from Server Virtualization: Beyond Initial Workload Conso

Re: [matplotlib-devel] mplot3d shading "fix"

2011-01-21 Thread Benjamin Root
-- In the process of clearing out patch backlog -- This patch has been committed to the trunk in r8930. I am not going to commit this to 1.0.x unless I am absolutely certain that this patch doesn't break any other use-cases. Ben Root On Fri, Jan 7, 2011 at 9:28 PM, Benjamin Root wrote: > Hell

[matplotlib-devel] mplot3d shading "fix"

2011-01-07 Thread Benjamin Root
Hello, I have been noticing odd behaviors when plotting polygons and surfaces using mplot3d. Some polygon faces were being slightly transparent, for example when you rotate the sphere in the 'surface3d_demo2.py' example. Some faces were completely missing, for example in the 'hist3d_demo.py' exa

Re: [matplotlib-devel] mplot3d broken?

2010-07-25 Thread Eric Firing
On 07/24/2010 04:01 PM, Benjamin Root wrote: > On Sat, Jul 24, 2010 at 5:08 PM, Eric Firing > wrote: > > While running backend_driver.py on the maintenance branch, I found that > the mplot3d examples were not working. Here is an example: > > efir...@manini:~

Re: [matplotlib-devel] mplot3d broken?

2010-07-24 Thread Benjamin Root
On Sat, Jul 24, 2010 at 5:08 PM, Eric Firing wrote: > While running backend_driver.py on the maintenance branch, I found that > the mplot3d examples were not working. Here is an example: > > efir...@manini:~/programs/py/mpl/mpl_v1_0_maint/examples/mplot3d$ python > wire3d_demo.py > Traceback (mo

[matplotlib-devel] mplot3d broken?

2010-07-24 Thread Eric Firing
While running backend_driver.py on the maintenance branch, I found that the mplot3d examples were not working. Here is an example: efir...@manini:~/programs/py/mpl/mpl_v1_0_maint/examples/mplot3d$ python wire3d_demo.py Traceback (most recent call last): File "wire3d_demo.py", line 6, in

Re: [matplotlib-devel] mplot3d line objects

2010-07-02 Thread Benjamin Root
Along the same vein, I have noticed that the Axes3D object does not have a .set_zlim() function, instead opting to use .set_zlim3d(). The same is true with xlim() and ylim(), implementing a different function for .set_xlim3d() than the inherited .set_xlim(). Is this intended? Thanks, Ben Root O

[matplotlib-devel] mplot3d line objects

2010-07-02 Thread Benjamin Root
Hello, I am working with the Line3D objects in the mplot3d toolkit. I have noticed that the .set_data() function is not overloaded from the Line class, therefore, there is no direct way to set the line data. Should a .set_data() function be created for Line3D or is there some inherent barrier to

[matplotlib-devel] mplot3d view_init minor patch

2010-03-19 Thread Ben Axelrod
Here is a minor patch for the mplot3d.view_init() function. It: 1. comments this method so that users know that they can use it to programatically rotate or re-set the axes. 2. adds some new functionality so that if no parameters are passed in, the default values (what was specified in the A

Re: [matplotlib-devel] Mplot3d questions

2010-02-26 Thread Nicolas Rougier
If that may help the discussion, here are two links related to works I did on Python/OpenGL/scientific visualization and matplotlib: glumpy: http://code.google.com/p/glumpy/ scigl: http://www.loria.fr/~rougier/coding/scigl/index.html I also tried to write an OpenGL matplolib backend but it was

Re: [matplotlib-devel] Mplot3d questions

2010-02-26 Thread Jonathan Taylor
Hi, I cannot answer your questions specifically but perhaps I can provide some insight. My current understanding is that most of mplot3d is a bit of a hack. I say this because I use it daily and I was the one who hacked it into a half working state out of necessity after it was originally fell o

Re: [matplotlib-devel] Mplot3d questions

2010-02-26 Thread Jonathan Taylor
Ben. Sorry I did not see the other posts surrounding mplot3d or your patch. I am very excited to have that though. Thank you. My opinion about a redesign still stands though. Jon. On Thu, Feb 25, 2010 at 11:16 PM, Jonathan Taylor wrote: > Hi, > > I cannot answer your questions specifically b

[matplotlib-devel] mplot3d contour patch on tracker

2009-06-29 Thread Ryan Wagner
Hi, I submitted a new patch on the tracker. When I was playing with the contour routine in mplot3d and using the extend3d keyword it would error out. I've attached a sample program to display the error as well as the dataset I was using. Please feel free to contact me if there are any questions

Re: [matplotlib-devel] mplot3d update

2009-06-16 Thread Reinier Heeres
Sounds good as well, so I just removed it. Cheers, Reinier On Mon, Jun 15, 2009 at 10:35 PM, John Hunter wrote: > On Mon, Jun 15, 2009 at 3:33 PM, John Hunter wrote: >> On Mon, Jun 15, 2009 at 3:28 PM, Reinier Heeres wrote: >>> John, >>> >>> Shall I update this file and change the error to say so

Re: [matplotlib-devel] mplot3d update

2009-06-15 Thread John Hunter
On Mon, Jun 15, 2009 at 3:33 PM, John Hunter wrote: > On Mon, Jun 15, 2009 at 3:28 PM, Reinier Heeres wrote: >> John, >> >> Shall I update this file and change the error to say something like >> "mplot3d is now available as a toolkit, use import >> mpl_toolkits.mplot3d"? >> >> The other option woul

Re: [matplotlib-devel] mplot3d update

2009-06-15 Thread John Hunter
On Mon, Jun 15, 2009 at 3:28 PM, Reinier Heeres wrote: > John, > > Shall I update this file and change the error to say something like > "mplot3d is now available as a toolkit, use import > mpl_toolkits.mplot3d"? > > The other option would be to just do a "from mpl_toolkits.mplot3d.axes3d". I pref

Re: [matplotlib-devel] mplot3d update

2009-06-15 Thread Reinier Heeres
John, Shall I update this file and change the error to say something like "mplot3d is now available as a toolkit, use import mpl_toolkits.mplot3d"? The other option would be to just do a "from mpl_toolkits.mplot3d.axes3d". Regards, Reinier On Mon, Jun 15, 2009 at 2:13 AM, Gökhan SEVER wrote: >

Re: [matplotlib-devel] mplot3d update

2009-06-15 Thread Ryan May
On Sun, Jun 14, 2009 at 7:13 PM, Gökhan SEVER wrote: > > Could you tell me how to import axes3d module from within Ipython? > from mpl_toolkits.mplot3d import axes3d Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -

Re: [matplotlib-devel] mplot3d update

2009-06-14 Thread Gökhan SEVER
On Sat, Jun 13, 2009 at 4:17 PM, Reinier Heeres wrote: > Hi, > > I just fixed this issue and implemented setting/unsetting of the grid. > I also added a parameter axes3d.grid to matplotlibrc, which defaults > to True. Is that ok? > > Cheers, > Reinier > Ok, that strange line doesn't show anymore

Re: [matplotlib-devel] mplot3d update

2009-06-13 Thread Reinier Heeres
Hi, I just fixed this issue and implemented setting/unsetting of the grid. I also added a parameter axes3d.grid to matplotlibrc, which defaults to True. Is that ok? Cheers, Reinier On Mon, Jun 8, 2009 at 11:43 PM, Gökhan SEVER wrote: > Hello, > > Please see the uploaded image: > http://img40.ima

Re: [matplotlib-devel] mplot3d update

2009-06-09 Thread Reinier Heeres
Hi there, On Mon, Jun 8, 2009 at 2:58 PM, John Hunter wrote: > One other feature request that I think you could add w/o too much > difficulty is colormapping on the surface plots (eg inherit from > cm.ScalaraMappable.  I did this in a local branch of the old axes3d > code which I might be able to

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread Reinier Heeres
Hi, Could you post the code that resulted in this image? I don't see the dashed line here if I use the example. If it is the example, do you perhaps have some extra settings in your rc file(s)? Regards, Reinier On Mon, Jun 8, 2009 at 11:43 PM, Gökhan SEVER wrote: > Hello, > > Please see the uplo

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread Gökhan SEVER
Hello, Please see the uploaded image: http://img40.imageshack.us/img40/3909/dashedline.png There is dashed line in the middle of the figure coming from the top of the plot. I didn't mean grid lines, however would be nice to add a functionality like pylot's x-yticks commands, ahh we also need ztic

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread Reinier Heeres
Hi, I'm not sure what line you are referring to; do you mean the grid lines? If not, please provide an image. At the moment these lines can't be turned off, but it sounds like a good plan to override the grid() function for that. Regards, Reinier On Mon, Jun 8, 2009 at 10:48 PM, Gökhan SEVER wr

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread Gökhan SEVER
Hi, Could you please tell me how not to see the dashed line in the middle of 3d plotting scene? It's also there on a saved png file as well. Next, could it be possible to plot 3d box-whiskers plots via mplot3d interface? Thanks... I really appreciate your good work. Gökhan On Sun, Jun 7, 200

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread Gael Varoquaux
On Mon, Jun 08, 2009 at 10:30:09AM -0700, Fernando Perez wrote: > Reinier, I'm sure if you ping Gael he'd be happy to share some > thoughts with you, he's very interested in code reusability (he may be > on this list for all I know, but I did CC him just to be safe). I am around. :) Have a look a

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread Fernando Perez
On Mon, Jun 8, 2009 at 5:58 AM, John Hunter wrote: >> Please let me know what you think, perhaps mostly about the >> user-facing API. It would be good to get that 'right' so that we don't >> have to change it in the future. > > You may want to take a look at what other popular toolkits do: > gnuplo

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread John Hunter
On Mon, Jun 8, 2009 at 11:33 AM, Reinier Heeres wrote: > Hi John, > > On Mon, Jun 8, 2009 at 2:58 PM, John Hunter wrote: >> On Sun, Jun 7, 2009 at 6:27 PM, Reinier Heeres wrote: >>> Hi all, >>> >>> I just updated mplot3d with some refactoring, more examples and the >>> start of documentation. Also

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread Reinier Heeres
Hi John, On Mon, Jun 8, 2009 at 2:58 PM, John Hunter wrote: > On Sun, Jun 7, 2009 at 6:27 PM, Reinier Heeres wrote: >> Hi all, >> >> I just updated mplot3d with some refactoring, more examples and the >> start of documentation. Also semi-3D text is available again. > > Great -- I made a minor chan

Re: [matplotlib-devel] mplot3d update

2009-06-08 Thread John Hunter
On Sun, Jun 7, 2009 at 6:27 PM, Reinier Heeres wrote: > Hi all, > > I just updated mplot3d with some refactoring, more examples and the > start of documentation. Also semi-3D text is available again. Great -- I made a minor change to special case atan2 with inputs 0,0, which raises an error on my

[matplotlib-devel] mplot3d update

2009-06-07 Thread Reinier Heeres
Hi all, I just updated mplot3d with some refactoring, more examples and the start of documentation. Also semi-3D text is available again. Please let me know what you think, perhaps mostly about the user-facing API. It would be good to get that 'right' so that we don't have to change it in the fut

Re: [matplotlib-devel] mplot3d - text3D replacement?

2009-06-02 Thread Reinier Heeres
Hi Tom, This is the right place to ask. I'm working on putting some documentation together and I'll also look into getting Text3D supported again. I hope to push things to svn next weekend... Regards, Reinier On Tue, Jun 2, 2009 at 6:49 AM, Tom Loredo wrote: > > Hi- > > I'm sorry if this shoul

[matplotlib-devel] mplot3d - text3D replacement?

2009-06-01 Thread Tom Loredo
Hi- I'm sorry if this should be in mpl-users; since mplot3d is a work in progress and not documented I thought the question might better fit mpl-devel. I'm trying to migrate some old code that used matplotlib.axes3d to use mpl_toolkits.mplot3d.axes3d. For an axes3d instance ax, it used the ax.t

Re: [matplotlib-devel] Mplot3d

2009-05-23 Thread John Hunter
On Sat, May 23, 2009 at 9:53 AM, Reinier Heeres wrote: > I just committed a few updates to mplot3d: > - Contourf3d is working again (although I'm not 100% it looks the same > as in previous versions; I'll have to compare) > - Drawing bars works > - Zordering is implemented for collections and patc

[matplotlib-devel] Mplot3d

2009-05-23 Thread Reinier Heeres
Hi all, I just committed a few updates to mplot3d: - Contourf3d is working again (although I'm not 100% it looks the same as in previous versions; I'll have to compare) - Drawing bars works - Zordering is implemented for collections and patches, necessary to get both of the above working properly.

Re: [matplotlib-devel] mplot3d: thanks and buglet.

2009-04-17 Thread Neil Crighton
Reinier Heeres writes: > This is a known issue, and I hope to resolve it soon... > > Thanks for reporting though; if you notice any other problems, please > let me know! > > Regards, > Reinier > The 3d plotting is great, thanks for updating it! Another small bug: the plot_surface routine rev

Re: [matplotlib-devel] mplot3d: thanks and buglet.

2009-04-15 Thread Fernando Perez
On Wed, Apr 15, 2009 at 2:04 PM, Reinier Heeres wrote: > Hi Fernando, > > This is a known issue, and I hope to resolve it soon... > > Thanks for reporting though; if you notice any other problems, please > let me know! Will do, and I'll be happy to test as needed. f

Re: [matplotlib-devel] mplot3d: thanks and buglet.

2009-04-15 Thread Reinier Heeres
Hi Fernando, This is a known issue, and I hope to resolve it soon... Thanks for reporting though; if you notice any other problems, please let me know! Regards, Reinier On Wed, Apr 15, 2009 at 7:01 PM, Fernando Perez wrote: > Hi all, > > first, a huge thank you for the recent work on mpl 3d. T