Lines Matching full:if
22 legend_ncol = (2 if log_y else 1) # number of columns in the legend
30 if not show_figures:
50 if 'CEED Benchmark Problem' in test:
59 vdim = 1 if case == 'scalar' else 3
85 if len(pl_runs.index) == 0:
107 d = [[e[2], e[3]] for e in d if e[0] == sol_p]
110 min([e[1] for e in d if e[0] == nun]),
111 max([e[1] for e in d if e[0] == nun])]
117 if list(d[:, 1]) != list(d[:, 2]):
121 # Continue if only 1 set of qpts
122 if len(qpts) == 1:
131 d = [[e[2], e[3]] for e in d if e[0] == sol_p]
132 if len(d) == 0:
136 min([e[1] for e in d if e[0] == nun]),
137 max([e[1] for e in d if e[0] == nun])]
142 if list(d[:, 1]) != list(d[:, 2]):
147 if draw_iter_lines:
149 y = asarray([y0, y1]) if log_y else exp(linspace(log(y0), log(y1)))
157 num_nodes, '' if num_nodes == 1 else 's',
160 if log_y:
162 if 'x_range' in vars() and len(x_range) == 2:
164 if 'y_range' in vars() and len(y_range) == 2:
177 if write_figures: # write .pdf file?
185 if show_figures: # show the figures?