Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 13, 2024
1 parent 9c75ec8 commit 08500bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reflectivity_ui/interfaces/smooth_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ def drawPlot(self):

Qzmax = max(ki_z.max() * 2.0, Qzmax)
if self.ui.kizmkfzVSqz.isChecked():
plot.pcolormesh((ki_z - kf_z), Qz, I, log=True, imin=1e-6, imax=1.0, cmap='jet', shading="gouraud")
plot.pcolormesh((ki_z - kf_z), Qz, I, log=True, imin=1e-6, imax=1.0, cmap="jet", shading="gouraud")
elif self.ui.qxVSqz.isChecked():
plot.pcolormesh(Qx, Qz, I, log=True, imin=1e-6, imax=1.0, cmap='jet', shading="gouraud")
plot.pcolormesh(Qx, Qz, I, log=True, imin=1e-6, imax=1.0, cmap="jet", shading="gouraud")
else:
plot.pcolormesh(ki_z, kf_z, I, log=True, imin=1e-6, imax=1.0, cmap='jet', shading="gouraud")
plot.pcolormesh(ki_z, kf_z, I, log=True, imin=1e-6, imax=1.0, cmap="jet", shading="gouraud")

if self.ui.kizmkfzVSqz.isChecked():
qz_max = max(Qz[I > 0].max(), qz_max)
Expand Down

0 comments on commit 08500bc

Please sign in to comment.