if point_yoffs: yoff = y + point_yoffs[j][i] i += 1 ax.text(x, yoff, '%3.2f' % float(y), ha='left', va='bottom') j += 1 if x_log: ax.set_xscale('log') if y_log: ax.set_yscale('log', nonposy="clip") if __name__ == "__main__": data, error = common.mock_experiment(".scatter_experiment", 3, 3) series_order = [] steps = [] keys = [] for step in data.keys(): steps.append(step) for key in data[step].keys(): keys.append(key) steps = set(steps) keys = set(keys) steps = list(steps) keys = list(keys)
if y_range != None: ax.set_autoscaley_on(False) ax.set_ylim( [y_range[0], y_range[1]] ) if x_log: ax.set_xscale('log') if y_log: ax.set_yscale('log', nonposy="clip") if __name__ == "__main__": data, error = common.mock_experiment( ".bar_experiment", 3, 3 ) bar_order = [] steps = [] keys = [] for step in data.keys(): steps.append(step) for key in data[step].keys(): keys.append(key) steps = set(steps) keys = set(keys) steps = list(steps) keys = list(keys)
ax.set_autoscalex_on(False) ax.set_xlim([x_range[0], x_range[1]]) if y_range != None: ax.set_autoscaley_on(False) ax.set_ylim([y_range[0], y_range[1]]) if x_log: ax.set_xscale('log') if y_log: ax.set_yscale('log', nonposy="clip") if __name__ == "__main__": data, error = common.mock_experiment(".bar_experiment", 3, 3) bar_order = [] steps = [] keys = [] for step in data.keys(): steps.append(step) for key in data[step].keys(): keys.append(key) steps = set(steps) keys = set(keys) steps = list(steps) keys = list(keys)
if point_yoffs: yoff = y + point_yoffs[j][i] i+=1 ax.text( x, yoff, '%3.2f' % float(y), ha = 'left', va = 'bottom' ) j+=1 if x_log: ax.set_xscale('log') if y_log: ax.set_yscale('log', nonposy="clip") if __name__ == "__main__": data, error = common.mock_experiment( ".scatter_experiment", 3, 3 ) series_order = [] steps = [] keys = [] for step in data.keys(): steps.append(step) for key in data[step].keys(): keys.append(key) steps = set(steps) keys = set(keys) steps = list(steps) keys = list(keys)