Skip to content

Commit 72a2ddc

Browse files
committed
Add a range option for kip3
1 parent 828755c commit 72a2ddc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mesaPlot/plot.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5328,6 +5328,7 @@ def plotKip3(
53285328
cbar_ax=None,
53295329
cpad=0.0,
53305330
cbar_extend="neither",
5331+
zrng=None,
53315332
):
53325333

53335334
if fig == None:
@@ -5563,6 +5564,9 @@ def plotKip3(
55635564
if cmax is not None:
55645565
vmax = cmax
55655566

5567+
if zrng is not None:
5568+
vmin = vmax - zrng
5569+
55665570
if not zaxis_contour:
55675571
im1 = ax.imshow(
55685572
data_z.T,

0 commit comments

Comments
 (0)