How to create a visualization for events along a timeline?
问题 I'm building a visualization with Python. There I'd like to visualize fuel stops and the fuel costs of my car. Furthermore, car washes and their costs should be visualized as well as repairs. The fuel costs and laundry costs should have a higher bar depending on the costs. I created the visualization below to describe the concepts. How to create such a visualization with matplotlib? This is the visualization being built: 回答1: Yes, this kind of visualization is perfectly possible with