def get_which_data_rows(model, which_data_rows):
if which_data_rows == '<STR_LIT:all>' or which_data_rows is None:<EOL><INDENT>return slice(None)<EOL><DEDENT>return which_data_rows<EOL>
Helper to get the data rows to plot.