<｜begin▁of▁sentence｜>### Instruction:
Given a set of real numbers, can you create a histogram with a specified bin width, add data to it, and then display the histogram bins and the string representation including bars and counts using the `Histogram` class from igraph?
### Response:
from igraph import Histogram

# Initialize histogram with a bin width of 5
histogram = Histogram(bin_width=5)

# Add some data to the histogram
histogram.add(10)
histogram.add_many([15, 20, 25, 30])
histogram.add(25, repeat=3)

# Print the bins with their counts
for bin in histogram.bins():
    print(bin)

# Get the string representation of the histogram with bars and counts
histogram_str = histogram.to_string(max_width=50, show_bars=True, show_counts=True)
print(histogram_str)
<|EOT|>
