Re: [Matplotlib-users] Matplotlib - Drawing a Trapezoid Isosceles with Poly3DCollection

2014-03-26 Thread Benjamin Root
Not that I am aware of. We kind of brute-force it in the plot_surface() function: polys = [] # Only need these vectors to shade if there is no cmap if cmap is None and shade : totpts = int(np.ceil(float(rows - 1) / rstride) * np.ceil(flo

[Matplotlib-users] Matplotlib - Drawing a Trapezoid Isosceles with Poly3DCollection

2014-03-26 Thread claudef
Dear colleagues, Exploring the 3D support for plotting a simple trapezoid isosceles based on eight locations with x,y,z (imagine a water tank). When doing a manual selection of the collections that defines each surface plane, the drawing works well (see a sample below). Watching for a more au

Re: [Matplotlib-users] Changing figure background color (through rcparams?)

2014-03-26 Thread Pierre Haessig
Hi, True enough, I didn't tested in a Notebook, but now it seems to work as well: https://gist.github.com/pierre-haessig/9779940 http://nbviewer.ipython.org/gist/pierre-haessig/9779940 (just a test with mpl.rcParams['axes.facecolor'] = 'red') best, Pierre Le 25/03/2014 18:20, Adam Hughes a écr