Skip to content

Commit f14bf7e

Browse files
final nit
1 parent 9f7d628 commit f14bf7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirq-core/cirq/experiments/two_qubit_xeb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def plot_histogram(
292292
if ax is None:
293293
fig, ax = plt.subplots(1, 1, figsize=(8, 8))
294294

295-
alpha = 1 / (1 + int(kind == 'both'))
295+
alpha = 0.5 if kind == 'both' else 1.0
296296
if kind == 'single_qubit' or kind == 'both':
297297
self.rb_result.plot_integrated_histogram(
298298
ax=ax, alpha=alpha, label='single qubit', color='green', **plot_kwargs

0 commit comments

Comments
 (0)