Matplotlib Bar problem

i wanna create 3 charts with all 3 cointaining diffrent data, but when i run it ALL 3 charts all show the exact SAME chart?!
2018-07-18_10h14_24 seen in the picture. code: its fake code, so its not runable but atleast you get a view at the code and maybe solve why its not working?

if you could help me out, thanks

@jandevries Here is the Plotly not matplotlib Q&A community. Please address your question on stackoverflow.