code: def collection(data, bins=10, *args, **kwargs):
      
      from physt.histogram_collection import HistogramCollection
      if hasattr(data, "columns"):
          data = {column: data[column] for column in data.columns}
      return HistogramCollection.multi_h1(data, bins, **kwargs)
docs: Create histogram collection with shared binnning.