Sorry, had forgot to reply all:
Thanks Joe, that's perfect. I appreciate the tip, as I would not have
realized I needed a PathCollection for lines and curves. PS, do you know
if it is possible to have a background image behind a plot of patches? I
know it's doable for scatter, but hadn't seen a
On Tue, Jan 7, 2014 at 2:29 PM, Adam Hughes wrote:
> Sorry, quick followup. I did find the gallery example to plot multiple
> patches together:
>
> http://matplotlib.org/examples/api/patch_collection.html
>
> That's excellent. Now I guess my question is how best to generalize the
> process of t
Adam,
Not sure if this is the try you're trying to bark up, but I've used a total
hack to do what I think you're describing:
1) store lists of coordinate pairs in a pandas DataFrame
2) use df.apply() to turn each list of coords in to a patch and add to an
axes object
I'm sure you know this, but
Sorry, quick followup. I did find the gallery example to plot multiple
patches together:
http://matplotlib.org/examples/api/patch_collection.html
That's excellent. Now I guess my question is how best to generalize the
process of turning my objects into patches. I think I will just try to
keep