Skip to content

Commit d9e1f93

Browse files
authored
Fix NameError in visualizing calibration metrics tutorial (#4316)
`cirq_google` is used to get calibrations in line 181 but never imported, leading to `NameError: name cirq_google is not defined` (189945709).
1 parent d624a55 commit d9e1f93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/tutorials/google/visualizing_calibration_metrics.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
" print(\"installing cirq...\")\n",
8181
" !pip install --quiet cirq\n",
8282
" print(\"installed cirq.\")\n",
83-
" import cirq\n",
83+
"import cirq\n",
84+
"import cirq_google\n",
8485
"import os\n",
8586
"import matplotlib.pyplot as plt"
8687
]

0 commit comments

Comments
 (0)