Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Geoffrey Mégardon
I tried that: from mpl_toolkits.mplot3d import axes3d import matplotlib import matplotlib.pyplot as plt import faulthandler import os print os.getcwd() #with open(./error-log.txt, wb) as f: #faulthandler.enable(f) faulthandler.enable() fig = plt.figure() ax = fig.add_subplot(111,

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Benjamin Root
That's too bad. Faulthandler is limited on windows systems, but I was hoping it would give us something. Anyway, I looked at the error log again (I didn't see anything relevant the first time), and I noticed the following:

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Geoffrey Mégardon
Everything came pre-built through the normal anaconda downloading page! :D For the DLL, it seems at its normal place: http://ns1.faultwire.net/file_detail/msvcr90.dll*92305.html# I think there is no solution we can track for now :/ :/ :/ On 18 November 2014 12:16, Benjamin Root ben.r...@ou.edu

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Thomas Caswell
Did you try in a conda venv? These look like (globally!) installed version of things which means your python session can still be picking up old/stale versions of other imports. See Paul Hobson's email. Tom On Thu Nov 13 2014 at 4:58:11 PM Geoffrey Mégardon geoffrey.megar...@gmail.com wrote:

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Benjamin Root
That is a good point. I initially thought that they were under a conda environment folder, but now, it seems like there is some sort of Anaconda user? I am not familiar with how Anaconda installs for Windows, but that doesn't seem right to me. Ben Root On Tue, Nov 18, 2014 at 1:47 PM, Thomas

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Christoph Gohlke
According to your Windows log, the faulting module is _dotblas.pyd, which is part of numpy. Does `import numpy;numpy.test()` pass? Christoph On 11/18/2014 10:39 AM, Geoffrey Mégardon wrote: Everything came pre-built through the normal anaconda downloading page! :D For the DLL, it seems at

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Benjamin Root
Good eye, Christoph! Wow, got to love how that crucial piece of information is buried in there! Took me three tries to find it! Now it makes a bit more sense. I would suspect that most of matplotlib does not ever call np.dot() anywhere (at least, not for 2d arrays, I think numpy uses some simple

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Geoffrey Mégardon
Muahahaha, you are right! numpy.test() does not work! but I dont get any traceback. It just crashes as before Python.exe has stopped working... And yes, indeed the Windows reports that _dotblas.pyd doesnt work :) lol, I didn't realize. Here the new Windows report for the numpy.test(): Version=1

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-15 Thread Geoffrey Mégardon
So, are there new ideas about this problem? My case seems quite rare :/ On 13 November 2014 17:46, Geoffrey Mégardon geoffrey.megar...@gmail.com wrote: sorry to double post, I don't know if it is linked but Pycharms complains about Skeleton Generation Problems, among the errors there is one

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-15 Thread Benjamin Root
I was waiting for the results from using faulthandler. It is very easy to use, and I think it will be very illuminating. Ben Root On Sat, Nov 15, 2014 at 8:50 AM, Geoffrey Mégardon geoffrey.megar...@gmail.com wrote: So, are there new ideas about this problem? My case seems quite rare :/ On

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-13 Thread Benjamin Root
Resending to the list, but also with amendments to my previous statement (the new gmail app is really crappy with viewing conversations...) Ah, I see I missed that in the original message (I was heading out the door at the time). You say there is a crash. Is there a traceback or segfault? Also,

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-13 Thread Geoffrey Mégardon
Someone installed Vizard on my PC before, which has its own python distribution, that may be the reason of all those troubles. I uninstalled it. Then I tried the code with python without any IDE from the Windows console. The same kind of thing happens. With agg backend, no error, but no figure

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-13 Thread Paul Hobson
Does a fresh conda environment help? On Wed, Nov 12, 2014 at 5:38 PM, Geoffrey Mégardon geoffrey.megar...@gmail.com wrote: Yes, I may forget to tell, but this code is 100% working, it work on other installations I have. So the problem is not in the code. It is just that on my current

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-13 Thread Benjamin Root
No OpenGL. The 3d graphics all goes through the same layering engine as the 2D plots. They aren't real 3D plots but rather what I like to call 2.1D plots. A single point of a 3D element is chosen to determine how to layer it with everything else. So, it is very easy to get visualization artifacts,

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-13 Thread Geoffrey Mégardon
That returns: C:\Anaconda\lib\site-packages\matplotlib\__init__.pyc C:\Anaconda\lib\site-packages\mpl_toolkits\mplot3d\__init__.pyc On 13 November 2014 16:40, Benjamin Root ben.r...@ou.edu wrote: No OpenGL. The 3d graphics all goes through the same layering engine as the 2D plots. They aren't

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-13 Thread Benjamin Root
Yeah, I am at a real loss here. Can you try one of the axes_grid1 examples? Also, how about the basemap examples? Those are both mpl_toolkit packages as well and might behave similarly. Also, it would be interesting to figure out at exactly which step the failure happens. There is a package called

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-13 Thread Geoffrey Mégardon
I will have a look to faulthandler but I never used it before. To use savefig() leads to the same crash. The two first examples on this pages work fine: http://matplotlib.org/mpl_toolkits/axes_grid/users/overview.html The first example from: http://matplotlib.org/basemap/users/examples.html

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-13 Thread Geoffrey Mégardon
sorry to double post, I don't know if it is linked but Pycharms complains about Skeleton Generation Problems, among the errors there is one which has matplotlib inside: *Failed modules* Python 2.7.8 (C:\Anaconda\python.exe) dde matplotlib._cntr win32ui win32uiole Generation of skeletons for the

[Matplotlib-users] Can not display 3D plot !

2014-11-12 Thread Geoffrey Mégardon
Hi, I am using the distribution Anaconda 64-bit. I never got problems with it. But on that new PC on windows 8.1, I can't plot anything in 3D. Note that I have an other windows 8.1 installation which works well. 2D plots work fine. To create a 3D axe works and then to show the figure works

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-12 Thread Benjamin Root
matplotlib.use(agg) will not allow the figure to show. It means to use the non-interactive backend that is good only for saving to files. Take that out and you should be fine. Cheers! Ben Root On Wed, Nov 12, 2014 at 5:31 PM, Geoffrey Mégardon geoffrey.megar...@gmail.com wrote: Hi, I am

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-12 Thread Geoffrey Mégardon
I think you didn't understand my problem. The line matplotlib.use(whateverbackendwhichcanwork) is here just to test different backends, in case the 3d plot works on some backend or not on others. I tried 4 different backends and I can't plot in 3d with any of them (the default backend included).

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-12 Thread Jerzy Karczmarczuk
Le 13/11/2014 00:13, Geoffrey Mégardon a écrit : ... But to create the 3D axes, to draw in it, and then to show the figure, that crashes: from mpl_toolkits.mplot3d import axes3d import matplotlib matplotlib.use(agg) import matplotlib.pyplot as

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-12 Thread Geoffrey Mégardon
Yes, I may forget to tell, but this code is 100% working, it work on other installations I have. So the problem is not in the code. It is just that on my current laptop, I don't know why, this code, which tries to display a 3d plot, leads to a crash. Note that 2D plots work fine on their side. I