I have a data, which contains values for each day of January:
self.y_data: [0, 0, -4, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
matplotlib bar chart uses this self.y_data
to set y
values for each day. But I get the following chart:
Why only 4 values are shown in the graph? How do I display all 31 values?