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
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.
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
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
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