Skip to content

Commit

Permalink
xlabel example for totals plot
Browse files Browse the repository at this point in the history
Fixes #154
  • Loading branch information
jnothman committed Dec 28, 2023
1 parent 0f6a497 commit 6bbb840
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/plot_customize_after_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@
plot_result["totals"].set_ylabel("Category size")
plot_result["matrix"].set_xlabel("Subsets between categories")
plt.show()


##########################################################################
# Or we can place the totals label on the x axis

plot_result = plot(example)
plot_result["totals"].set_xlabel("Category size")
plt.show()

0 comments on commit 6bbb840

Please sign in to comment.