PythonAPI: Constructor of Histogram2D should accept also numpy arrays with dtype=int
|Status:||Backlog||Start date:||24 Nov 2016|
For the moment, constructor
Histogram2D(const std::vector<std::vector<double>>& data);
accepts only numpy arrays with dtype=float. However, libraries like fabio or gdal produce numpy arrays with dtype=int. The .image data from Elettra synchrotron are also read as a numpy array of integers (due to the binary format). If Histogram2D would accept the integer data, it would save users the conversion step.