2 parents 099aa28 + 73e8a54 commit af2d77dCopy full SHA for af2d77d
1 file changed
cgcnn2/utils.py
@@ -466,10 +466,14 @@ def plot_convergence(
466
467
ax.set_yticks(np.linspace(y1_lim[0], y1_lim[1], 6))
468
ax2.set_yticks(np.linspace(y2_lim[0], y2_lim[1], 6))
469
-
470
- ax.yaxis.set_major_formatter(mticker.FormatStrFormatter(f"%.{ylabel_precision}"))
471
- ax2.yaxis.set_major_formatter(mticker.FormatStrFormatter(f"%.{y2label_precision}"))
472
+
+ ax.yaxis.set_major_formatter(
+ mticker.FormatStrFormatter(f"%.{ylabel_precision}")
+ )
473
+ ax2.yaxis.set_major_formatter(
474
+ mticker.FormatStrFormatter(f"%.{y2label_precision}")
475
476
477
ax.yaxis.set_minor_locator(mticker.AutoMinorLocator(2))
478
ax2.yaxis.set_minor_locator(mticker.AutoMinorLocator(2))
479
0 commit comments