1

I'm trying to draw a line chart with a "date_range" date list as x-axis and a list of integers "balance" as y axis

enter image description here

But when plot it omit some dates.

fig, ax = plt.subplots(figsize = (4, 7), dpi = 70, constrained_layout = True)
ax = plt.plot(date_range, balance)

enter image description here

There are only 7 dates of 17, how i plot all data?

dm2
  • 4,053
  • 3
  • 17
  • 28
Caeta
  • 431
  • 3
  • 14

0 Answers0