I am trying to create a histogram using the matplot library, but I cannot figure out what arguments are for this function.
The documentation says bar(left, height) , but I donβt know how to place my data [which is a list of numbers named x] here.
He tells me that the height should be scalar when I put it as the number 0.5 or 1 , and does not show me an error if the height is a list.
python matplotlib graph
Kartik
source share