My purpose is explain by a new post more explicitely. Alan ________________________________________ De : ben.v.r...@gmail.com [ben.v.r...@gmail.com] de la part de Benjamin Root [ben.r...@ou.edu] Date d'envoi : vendredi 12 août 2011 16:14 À : WALTER Alain Cc : matplotlib-users@lists.sourceforge.net Objet : Re: [Matplotlib-users] where to download module mpl_toolkits.mplot3d.art3d
On Friday, August 12, 2011, WALTER Alain <alain.wal...@thalesgroup.com<mailto:alain.wal...@thalesgroup.com>> wrote: > Hello > I 've made some test so as to display a rectangle in a 3d view by using > matplotlib methods. > I get examples from address > http://nullege.com/codes/show/src%40m%40a%40matplotlib-HEAD%40matplotlib%40lib%40mpl_toolkits%40mplot3d%40axes3d.py/881/art3d.Line3DCollection/python > > import warnings > from matplotlib.axes import Axes, rcParams > from matplotlib import cbook > from matplotlib.transforms import Bbox > from matplotlib import collections > import numpy as np > from matplotlib.colors import Normalize, colorConverter, LightSource > > import art3d > import proj3d > import axis3d > > > then I remark that art3d is not included in matplotlib module, but I do not > find any way to download art3d from the net. And why "import art3d" rather > than "import mpl_toolkits.mplot3d.art3d" ? > Is anybody is aware about this topic. > Thanks a lot. > Since I happen to be the de facto 3d guy around here, I will respond. I think your "example" is actually a bit of test code within the mplot3d module. Because the code is within the same directory as the other files, that code can simply import art3d without specifying the module it resides in. I should also warn you that it seems like you want to use mplot3d for general 3d plotting. Mplot3d is not suitable for this because there are many layering artifacts that can occur. What are you planning to plot? Ben Root ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users