pyparty
pyparty copied to clipboard
Improvement to patches
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 w/ these popped into a new dict. That way can jsut pass this directly to p.partcile.as_patch.
Also, collection takes some similar args:
http://matplotlib.org/api/collections_api.html#matplotlib.collections.Collection
But Collections seems to take "edgecolor" as well (instead of edgecolors as it says), so could just pass these to PatchCOllection as well WITH CMAP ADDED IN!!
Also should make a "grid args" and add like gridwidtha dn stuff