Skip to content

Commit

Permalink
slight RDP changes
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ray committed Sep 6, 2024
1 parent d6e2939 commit 84772ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zz_portalcurtains/RDP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function writeimageandcolorbar(img::Array, gridr, gridz, line::Int; cmap="turbo"
end
figsize = gridr[end]/shrink, abs(diff([extrema(gridz)...])[1])*VE/shrink
fig, ax = plt.subplots(;figsize)
ax.imshow(img; cmap, extent=[gridr[1], gridr[end], gridz[end], gridz[1]])
ax.imshow(img; cmap, extent=[gridr[1], gridr[end], gridz[end], gridz[1]], vmin, vmax)
ax.set_aspect(VE)
ax.set_aspect("auto")
ax.axis("off")
Expand Down

0 comments on commit 84772ed

Please sign in to comment.