Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-johnson committed Sep 10, 2024
1 parent d4e205d commit dfdf2e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/tutorials/01_chemistry_hamiltonian.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -500,17 +500,17 @@
"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",
"axs[1].bar(x2, y2, width=0.8)\n",
"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()"
Expand Down

0 comments on commit dfdf2e2

Please sign in to comment.