pyparty
pyparty copied to clipboard
Drawing and analyzing particles on images
Rotation on arbitrary label seems not working (see analyze particles notebook end). Also, need to implement translate in set_cx, set_cy
Would be nice to provide center of polygon, and have it draw a general polygon (bowtie) anywhere. Not sure best way to do this.
Need to either make bezier curves derived from polygons/lines, or update their as_patch() to be something like line's. For now, they are filled in as patches.
For some strange resolutions/spacing, gridding by going through the gradient by 2's results in missing grid lines (not sure if it also results in any double lines).
Ring, wedge, partial ring http://matplotlib.org/examples/api/patch_collection.html
In patchshow(), Write a _parse_patches() fcn that takes in kwargs, and extracts the arguments to Patch: class matplotlib.patches.Patch(edgecolor=None, facecolor=None, color=None, linewidth=None, linestyle=None, antialiased=None, hatch=None, fill=True, **kwargs) And returns a dict...
Grid should change dimensions with rx ry on canvas. Or at least implement grid slicing, or overwriting the grid when rx and ry change. That way, you can always do...
Probably define this purles on the canvas. Thinking label size needs to be related to particle if user doesn't fix it. Something like: plabels(plist., fontsize, color): color options: - singlecolor...