Skip to content

Commit 8d57049

Browse files
committed
remove tick marks
1 parent 9d19327 commit 8d57049

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pydra_ml/report.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ def gen_report(
340340
ax.set_xticklabels(ax.get_xticklabels(), rotation=90, ha="center")
341341
ax.set_ylabel(name)
342342
ax.legend(loc="center right", bbox_to_anchor=(1.2, 0.5), ncol=1)
343+
ax.tick_params(axis="both", which="both", length=0)
343344
sns.despine(left=True)
344345
plt.tight_layout()
345346

@@ -369,6 +370,7 @@ def gen_report(
369370
ax.xaxis.set_ticks_position("top")
370371
ax.set_xticklabels(ax.get_xticklabels(), rotation=90, ha="center")
371372
ax.set_yticklabels(ax.get_yticklabels(), rotation=0, ha="right")
373+
ax.tick_params(axis="both", which="both", length=0)
372374
plt.tight_layout()
373375
plt.savefig(f"stats-{name}-{timestamp}.png")
374376
plt.close()

0 commit comments

Comments
 (0)