Skip to content

Any reason for the limit of 10 panels? #377

Closed
@mattsta

Description

@mattsta

I added my 10th panel today and hit two places where the "validators" rejected the plot.

Easy fix: just increase (or remove) the upper limit check. I increased them to 20 in my local source and everything still works.

Any reason the limit is there in the first place?

return panid in ['main','lower'] or (isinstance(panid,int) and panid >= 0 and panid < 10)

'panel_ratios' : { 'Default' : None,
'Validator' : lambda value: isinstance(value,(tuple,list)) and len(value) <= 10 and
all([isinstance(v,(int,float)) for v in value]) },

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreleasedcode merged into repo AND released to Pypi

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions