Skip to content

Commit

Permalink
move legend outside of plot region
Browse files Browse the repository at this point in the history
  • Loading branch information
shanedsnyder committed Mar 31, 2023
1 parent 0167034 commit ba66c7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def plot_posix_access_pattern(record, ax=None):
ax.set_ylabel('Count')
ax.set_xticks(x)
ax.set_xticklabels(labels)
ax.legend()
ax.legend(loc='center left', bbox_to_anchor=(1.05,.5))

ax.spines[['right', 'top']].set_visible(False)

Expand Down

0 comments on commit ba66c7c

Please sign in to comment.