Skip to content

Commit a52a850

Browse files
authored
Update core_quantum_analysis.py
1 parent 1483e7f commit a52a850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyEPR/core_quantum_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ def plot_hamiltonian_results(self,
894894
Qs.plot(ax=ax, lw=0, marker=markerf1, ms=4,
895895
legend=True, zorder=20, color=cmap)
896896
Qs.plot(ax=ax, lw=1, alpha=0.2, color='grey', legend=False)
897-
if not (len(df) == 0):
897+
if not (len(Qs) == 0):
898898
ax.set_yscale('log')
899899

900900
############################################################################

0 commit comments

Comments
 (0)