Skip to content

Figure.text: Allow passing in a list/array of angle/font/justify values to text #483

Closed
@weiji14

Description

@weiji14

Description of the desired feature

Following up from #481 (review), it would be desirable if users can:

  1. Pass in a list/array of angle/font/justify values to text (currently only a single angle/font/justify value is allowed, and applied to all texts)
  2. Handle more flexible input formats, e.g., -F+a+j+f and -F+a+f+j (see also Figure.text: Parsing of additional arguments when plotting text from file #479 (comment)).

On the non-user facing side, it would be nice too if we can pass the x,y,text input via a virtualfile as mentioned in #321 (comment), instead of a temporary tab-delimited file. This will be a more efficient method of passing data around rather than relying on the pandas.to_csv method. Will need to modify virtualfile_from_vectors to accept str type arrays, see #481 (comment).

Are you willing to help implement and maintain this feature? Happy to review a PR for it 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions