Skip to content

Commit

Permalink
Add a range option for kip3
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Nov 29, 2021
1 parent 828755c commit 72a2ddc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mesaPlot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -5328,6 +5328,7 @@ def plotKip3(
cbar_ax=None,
cpad=0.0,
cbar_extend="neither",
zrng=None,
):

if fig == None:
Expand Down Expand Up @@ -5563,6 +5564,9 @@ def plotKip3(
if cmax is not None:
vmax = cmax

if zrng is not None:
vmin = vmax - zrng

if not zaxis_contour:
im1 = ax.imshow(
data_z.T,
Expand Down

0 comments on commit 72a2ddc

Please sign in to comment.