Skip to content

Commit

Permalink
Add extra checks for when not showing burn data
Browse files Browse the repository at this point in the history
Works on #31

Reported-by Xeno3108
  • Loading branch information
rjfarmer committed Nov 3, 2024
1 parent 08c307d commit 683a615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesaPlot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -5695,7 +5695,7 @@ def plotKip3(
if y2label:
ax2.set_ylabel(y2label)

if colorbar:
if colorbar and hasdataz:
if cbar_ax is not None:
cb = fig.colorbar(im1, cax=cbar_ax, ax=ax, extend=cbar_extend)
else:
Expand Down

0 comments on commit 683a615

Please sign in to comment.