complete#
- scikitplot._ipymagic.complete(line)[source]#
Return the completions of the last word of a
%scikitplotline.- Parameters:
- linestr
The line typed so far, magic name included or not.
- Returns:
- list of str
Sorted candidates that start with the word being typed.
- Parameters:
line (str)
- Return type:
Examples
>>> from scikitplot._ipymagic import complete >>> "env" in complete("%scikitplot e") True >>> complete("%scikitplot info --format ") ['json', 'text', 'toml', 'yaml']