diff --git a/docs/tutorials/01_chemistry_hamiltonian.ipynb b/docs/tutorials/01_chemistry_hamiltonian.ipynb index 7c66e27..3db838b 100644 --- a/docs/tutorials/01_chemistry_hamiltonian.ipynb +++ b/docs/tutorials/01_chemistry_hamiltonian.ipynb @@ -501,8 +501,8 @@ "axs[0].set_yticklabels(yt1)\n", "axs[0].axhline(y=n2_exact, color=\"red\", linestyle=\"--\", label=\"Exact\")\n", "axs[0].set_title(\"Approximated Ground State Energy vs SQD Iterations\")\n", - "axs[0].set_xlabel(\"Iteration Index\", fontdict={'fontsize': 12})\n", - "axs[0].set_ylabel(\"Energy (Ha)\", fontdict={'fontsize': 12})\n", + "axs[0].set_xlabel(\"Iteration Index\", fontdict={\"fontsize\": 12})\n", + "axs[0].set_ylabel(\"Energy (Ha)\", fontdict={\"fontsize\": 12})\n", "axs[0].legend()\n", "\n", "# Plot orbital occupancy\n", @@ -510,8 +510,8 @@ "axs[1].set_xticks(x2)\n", "axs[1].set_xticklabels(x2)\n", "axs[1].set_title(\"Avg Occupancy per Spatial Orbital\")\n", - "axs[1].set_xlabel(\"Orbital Index\", fontdict={'fontsize': 12})\n", - "axs[1].set_ylabel(\"Avg Occupancy\", fontdict={'fontsize': 12})\n", + "axs[1].set_xlabel(\"Orbital Index\", fontdict={\"fontsize\": 12})\n", + "axs[1].set_ylabel(\"Avg Occupancy\", fontdict={\"fontsize\": 12})\n", "\n", "plt.tight_layout()\n", "plt.show()"