From 0167034d0d9556006a2fa2159bcddcc7f0cf9dfb Mon Sep 17 00:00:00 2001 From: Shane Snyder Date: Fri, 31 Mar 2023 15:38:45 -0500 Subject: [PATCH] remove right/top axis spines, rotate annotation 45 --- .../darshan/experimental/plots/plot_posix_access_pattern.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/darshan-util/pydarshan/darshan/experimental/plots/plot_posix_access_pattern.py b/darshan-util/pydarshan/darshan/experimental/plots/plot_posix_access_pattern.py index 63f4478d9..b3cc476cb 100644 --- a/darshan-util/pydarshan/darshan/experimental/plots/plot_posix_access_pattern.py +++ b/darshan-util/pydarshan/darshan/experimental/plots/plot_posix_access_pattern.py @@ -14,7 +14,7 @@ def autolabel(ax, rects): textcoords="offset points", ha='center', va='bottom', - rotation=0, + rotation=45, ) def plot_posix_access_pattern(record, ax=None): @@ -53,6 +53,8 @@ def plot_posix_access_pattern(record, ax=None): ax.set_xticklabels(labels) ax.legend() + ax.spines[['right', 'top']].set_visible(False) + autolabel(ax=ax, rects=rects_total) autolabel(ax=ax, rects=rects_seq) autolabel(ax=ax, rects=rects_consec)