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