Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gadhvirushiraj committed Nov 5, 2024
1 parent 975445b commit 1a4716f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qutip_qip/circuit/mat_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ def _fig_config(self) -> None:
fontdict={"fontsize": self.style.fontsize},
)

# Adjusting to square dimensions in jupyter to prevent small fig size with equal-aspect cmd
try:
get_ipython()
max_dim = max(xlim[1] - xlim[0], ylim[1] - ylim[0])
Expand Down

0 comments on commit 1a4716f

Please sign in to comment.