Skip to content

Commit

Permalink
fin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Dec 30, 2023
1 parent 7c21eee commit 1595ad7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion autoarray/plot/wrap/two_d/contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,7 @@ def set(self, array: Union[np.ndarray, Array2D], extent: List[float] = None, use
array.native[::-1], levels=levels, extent=extent, **config_dict
)
if self.include_values:
ax.clabel(levels=levels, inline=True, fontsize=10)
try:
ax.clabel(levels=levels, inline=True, fontsize=10)
except ValueError:
pass

0 comments on commit 1595ad7

Please sign in to comment.