Skip to content

Commit 9886d65

Browse files
committed
MAINT: Use higher dpi for log results
1 parent 36a8f0e commit 9886d65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/darsia/corrections/color/illuminationcorrection.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def objective_function(scaling):
269269
va="center",
270270
fontsize=5,
271271
)
272-
plt.savefig(log / "illumination_correction" / "samples.png")
272+
plt.savefig(log / "illumination_correction" / "samples.png", dpi=500)
273273
plt.close()
274274

275275
# Log the before and after scaling in a side-by-side plot
@@ -286,7 +286,7 @@ def objective_function(scaling):
286286
orientation="vertical",
287287
fraction=0.05,
288288
)
289-
plt.savefig(log / "illumination_correction" / "scaling.png")
289+
plt.savefig(log / "illumination_correction" / "scaling.png", dpi=500)
290290
plt.close()
291291

292292
def correct_array(self, img: np.ndarray) -> np.ndarray:

0 commit comments

Comments
 (0)