holoviz-topics / imagen

ImaGen: Generic Python library for 0D, 1D and 2D pattern distributions
https://imagen.holoviz.org/
BSD 3-Clause "New" or "Revised" License
31 stars 16 forks source link

PatternGenerator: abstract base class #11

Open sf-issues opened 11 years ago

sf-issues commented 11 years ago

Converted from SourceForge issue 1869778, submitted by nobody Submit Date: 2008-01-12 01:49 GMT

Have size and aspect_ratio Parameters in PatternGenerator so that subclasses can inherit doc, precedence attributes (etc), but have them not used unless a subclass does really use them. It might be better just to create an abstract PatternGenerator class for grouping together all patterns using those parameters, which shouldn't be too hard.

sf-issues commented 11 years ago

Submitted by ceball Date: 2008-03-04 12:33 GMT

Also need a base class that does not assume an image.