[Matplotlib-users] Rotated axes on figure

2016-02-26 Thread Gustavo Goretkin
Hello, How can I add an axes to a figure, but specify the transform from axes coordinates to figure coordinates? I want a set of axes (ticks, spines, data, everything) that are rotated? Figure.add_axes [1] accepts a box left-bottom-width-height axis aligned box specification. I can't follow in th

[Matplotlib-users] scatter plot individual alpha values

2012-08-08 Thread Gustavo Goretkin
I can use the scatter function to plot an array of points and give a corresponding array of colors to set those points. Is it possible to do the same thing with alpha values? Right now, I'm restoring to calling plot with an 'o' marker for each individual point, which is slow.

[Matplotlib-users] Path.intersects_path returns 1 always

2012-06-12 Thread Gustavo Goretkin
Hi, I'm using MPL 1.0.1 and am getting an unexpected result from using the Path.intersects_path function. Here is the example: https://gist.github.com/2920237 There are three rectangles, two of which intersect. As such, I expect some of the calls to intersects_path to return not 1. Thanks, Gust

[Matplotlib-users] path contains_point IndexError: Unexpected SeqBase length

2012-06-12 Thread Gustavo Goretkin
I think I'm experiencing a bug. Here is a minimum example: import matplotlib.patches as mpatches path = mpatches.Rectangle((0,0),width=1,height=1).get_path() print path.contains_point(point=(.5,.5)) it raises an IndexError: Unexpected SeqBase length. I think this is a problem in the contains_po

Re: [Matplotlib-users] path contains_point IndexError: Unexpected SeqBase length

2012-06-11 Thread Gustavo Goretkin
point[1], self, transform) On Sat, Jun 9, 2012 at 9:27 PM, Gustavo Goretkin wrote: > I think I'm experiencing a bug. > > Here is a minimum example: > > import matplotlib.patches as mpatches > path = mpatches.Rectangle((0,0),width=1,height=1).get_path() > print path.co