Skip to content

Commit

Permalink
Fix NameError in visualizing calibration metrics tutorial (quantuml…
Browse files Browse the repository at this point in the history
…ib#4316)

`cirq_google` is used to get calibrations in line 181 but never imported, leading to `NameError: name cirq_google is not defined` (189945709).
  • Loading branch information
rmlarose authored and erichulburd committed Jul 15, 2021
1 parent 72574c6 commit 7a0ce37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tutorials/google/visualizing_calibration_metrics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
" print(\"installing cirq...\")\n",
" !pip install --quiet cirq\n",
" print(\"installed cirq.\")\n",
" import cirq\n",
"import cirq\n",
"import cirq_google\n",
"import os\n",
"import matplotlib.pyplot as plt"
]
Expand Down

0 comments on commit 7a0ce37

Please sign in to comment.