asymmetric = ax_right.errorbar( batch_size, throughput, xerr=batch_error, yerr=asymmetric_error, fmt="s-", capsize=4, elinewidth=1.4, ecolor="0.25", color="tab:green", label="Throughput", ) ax_right.set_title("Asymmetric y and x error") ax_right.set_xlabel("Batch size") ax_right.set_ylabel("Rows per second") ax_right.grid(True, axis="y", alpha=0.25) ax_right.legend()