I have a dict of numbers (prices exactly)/each month:
{'2018-05-26': Decimal('7334.1638'), '2018-05-27': Decimal('7344.9675'), '2018-05-28': Decimal('7105.6725')}
I can easily plot this using plotly and the plot looks like this:
I want this graph to show as a drawing in pygame. I got several examples on how to show matplotlib data in pygame but those just copy/paste the plot and you can't interact with the environment. What I want to do is make this plot the playing environment in pygame.
Lets say if I want a car to run on this plot like a hill. Also as my list is dynamic so I need it to be real-time. Any advice on how to achieve this would be helpful.