Skip to content

Commit af2d77d

Browse files
authored
Merge pull request #109 from jcwang587/dev
run formatter
2 parents 099aa28 + 73e8a54 commit af2d77d

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

cgcnn2/utils.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,14 @@ def plot_convergence(
466466

467467
ax.set_yticks(np.linspace(y1_lim[0], y1_lim[1], 6))
468468
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-
469+
470+
ax.yaxis.set_major_formatter(
471+
mticker.FormatStrFormatter(f"%.{ylabel_precision}")
472+
)
473+
ax2.yaxis.set_major_formatter(
474+
mticker.FormatStrFormatter(f"%.{y2label_precision}")
475+
)
476+
473477
ax.yaxis.set_minor_locator(mticker.AutoMinorLocator(2))
474478
ax2.yaxis.set_minor_locator(mticker.AutoMinorLocator(2))
475479

0 commit comments

Comments
 (0)