Vertical orientation

This illustrates the effect of orientation=’vertical’.

  • ../_images/sphx_glr_plot_vertical_001.png
  • ../_images/sphx_glr_plot_vertical_002.png
  • ../_images/sphx_glr_plot_vertical_003.png
from matplotlib import pyplot as plt
from upsetplot import generate_counts, plot

example = generate_counts()
plot(example, orientation='vertical')
plt.suptitle('A vertical plot')

plot(example, orientation='vertical', show_counts='%d')
plt.suptitle('A vertical plot with counts shown')

plot(example, orientation='vertical', show_counts='%d', show_percentages=True)
plt.suptitle('With counts and percentages shown')

Total running time of the script: ( 0 minutes 1.071 seconds)

Gallery generated by Sphinx-Gallery