This is a bad example, because a histogram is meant to reduce the data, and it's not a good idea to use the buffer to try to get the original unbinned data. The buffer might be already cleared or not. A better example would maybe be from a vector, NumPy array or CSV file.
This is a bad example, because a histogram is meant to reduce the data, and it's not a good idea to use the buffer to try to get the original unbinned data. The buffer might be already cleared or not. A better example would maybe be from a vector, NumPy array or CSV file.