Skip to content

x.show('crap') could return a sorted list of valid options #139

Closed
@jypeter

Description

@jypeter

Just a very minor request for improvement. It would be nice the displayed list for Valid vcs elements below was alphabetically sorted. Just saying because I thought colormap was not in there and then I discovered it was the next to last element!

Maybe there are other places that could use alphabetical sorting

>>> x = vcs.init()
>>> x.show('crap')
[...]
Exception: Error: 'crap' is not a valid vcs element
Valid vcs elements are: ['list', 'projection', 'texttable', 'textorientation', 'textcombined', 'line', 'marker', 'fillarea', 'font', 'fontNumber', 'boxfill', 'isofill', 'isoline', 'meshfill', '3d_scalar', '3d_dual_scalar', '3d_vector', 'template', 'taylordiagram', '1d', 'vector', 'yxvsx', 'xyvsy', 'xvsy', 'scatter', 'colormap', 'display']


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions