pyparty icon indicating copy to clipboard operation
pyparty copied to clipboard

Improvement to patches

Open hughesadam87 opened this issue 11 years ago • 0 comments

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

hughesadam87 avatar Jan 16 '14 04:01 hughesadam87