import starbars
import matplotlib.pyplot as plt

# Example data
categories = ['A', 'B', 'C']
values = [10, 20, 18]
annotations = [('A', 'B', 'p < 0.01'), ('B', 'C', 'not significant :(')]

plt.bar(categories, values)

# Annotate significance
starbars.draw_annotation(annotations)

plt.show()