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 have an other PC on windows 8.1, and everything work fine on it, I
installed the same Anaconda 64-bit version.
So it is something to do with my environment, but it is not linked to the
OS itself, and it is linked with 3D displaying only I would say.
Any idea? :)
On 12 November 2014 18:44, Jerzy Karczmarczuk <[email protected]
> wrote:
>
> 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 plt
>>>
>>> fig = plt.figure()
>>> ax = fig.add_subplot(111, projection='3d')
>>> X, Y, Z = axes3d.get_test_data(0.05)
>>> cset = ax.contour(X, Y, Z)
>>> ax.clabel(cset, fontsize=9, inline=1)
>>>
>>> plt.show()
>>>
>>>
>>> Basically on iPython QT console I would get an error like:
>>> ""Kernel died, restarting""
>>>
>> Perhaps it is your environment, not Matplotlib.
> A copy-paste of this program run without problems on my system.
> Anaconda 64 bits, IPython console (within Spyder).
> But *Windows 7*, not 8.
>
> Jerzy Karczmarczuk
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
--
MEGARDON Geoffrey
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users