Skip to content

Commit f46056d

Browse files
authored
Merge pull request #733 from 8bitmp3/patch-1
Documentation: Fix TF Quantum MNIST by adding arg names in Seaborn barplot
2 parents 22ead38 + e55206a commit f46056d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/mnist.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,8 +1100,8 @@
11001100
"cnn_accuracy = cnn_results[1]\n",
11011101
"fair_nn_accuracy = fair_nn_results[1]\n",
11021102
"\n",
1103-
"sns.barplot([\"Quantum\", \"Classical, full\", \"Classical, fair\"],\n",
1104-
" [qnn_accuracy, cnn_accuracy, fair_nn_accuracy])"
1103+
"sns.barplot(x=[\"Quantum\", \"Classical, full\", \"Classical, fair\"],\n",
1104+
" y=[qnn_accuracy, cnn_accuracy, fair_nn_accuracy])"
11051105
]
11061106
}
11071107
],

0 commit comments

Comments
 (0)