From: Reinier H. <re...@he...> - 2010-02-25 00:11:39
|
Hi Ben, all, First of all: thanks for your patch. With a few minor modifications I think we should apply most of it. I had a quick look now, but let's aim to get it in over the weekend. Let me also say that as far as I'm concerned, mplot3d is here to stay and I will try to continue to support it. However, some help for this would be greatly appreciated, and it seems you can find your way around the code just fine! - I'm not entirely sure whether the CuboidCollection class you wrote is completely necessary, wouldn't it also be possible to use Poly3DCollection instances? (which should be correctly sorted). Then the only thing that would have to be added to Poly3DCollection is the histogram heuristic. - For the text() function, I think we should probably pass all kwargs to Axes.text() instead of the explicit version you used. - If you don't mind I'll remove the #endif etc comments, they appear nowhere in the codebase as far as I know. Pleas let me know what you think! Cheers, Reinier On Wed, Feb 24, 2010 at 7:39 PM, Ben Axelrod <BAx...@co...> wrote: > Here is a major patch for mplot3d. Here is a summary of the changes: > > * bug fix: placement of title in 3D plots to match 2D plot behavior (see nonecolortester.py to demonstrate) > * bug fix: allow facecolors and edgecolors to be specified as 'none' in 3D scatter plots to match the 2D scatter plot behavior (see nonecolortester.py to demonstrate) > * bug fix: allow all keyword arguments to be used in text3D (see modified example code text3d_demo.py) > * bug fix: allow an array of colors to be passed into bar3d to specify the colors on a per-bar or per-face basis (see new example code hist3d_demo2.py) > * bug fix: allow all keyword arguments to be used in bar3d (see new example code hist3d_demo2.py) > * bug fix: allow 3d scatter plots with 3 or 4 points with colors specified (see colortester2.py to demonstrate) > * new feature: new method to disable mouse rotation in 3D plots > * new feature: allow mouse rotation and zoom buttons to be specified by user > * new feature: new Z-order sorting heuristic to eliminate rendering issues for the common case of using bar3d to visualize a 2D histogram (see modified example code hist3d_demo.py) > * new feature: new method text2D (see modified example code text3d_demo.py) > * code cleanup: warn when canvas is None which disables mouse callbacks > * code cleanup: document more methods in mplot3d > > Thanks, > -Ben > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > -- Reinier Heeres Tel: +31 6 10852639 |