wants_json#

scikitplot._ipymagic.wants_json(argv)[source]#

Return whether argv asks for JSON output (--format json).

Parameters:
argvsequence of str

Arguments.

Returns:
bool

True for --format json or --format=json anywhere.

Parameters:

argv (Sequence[str])

Return type:

bool