class_docstr: wandb class for histograms.
  
  This object works just like numpy's histogram function
  https://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html
  
  Examples:
      Generate histogram from a sequence
      ```python
      wandb.Histogram([1, 2, 3])
      ```
  
      Efficiently initialize from np.histogram.
      ```python
      hist = np.histogram(data)
      wandb.Histogram(np_histogram=hist)
      ```
  
  Arguments:
      sequence: (array_like) input data for histogram
      np_histogram: (numpy histogram) alternative input of a precomputed histogram
      num_bins: (int) Number of bins for the histogram.  The default number of bins
          is 64.  The maximum number of bins is 512
  
  Attributes:
      bins: ([float]) edges of bins
      histogram: ([int]) number of elements falling in each bin
docstr: Estimated size in bytes.
  
  Currently the factor of 1.7 is used to account for the JSON encoding. We use
  this in tb_watcher.TBHistory.
code: def __sizeof__(self) -> int:
      """Estimated size in bytes.
  
      Currently the factor of 1.7 is used to account for the JSON encoding. We use
      this in tb_watcher.TBHistory.
      """
      return int(
          (sys.getsizeof(self.histogram) + sys.getsizeof(self.bins))
          * 1.7
      )
  
file_path: wandb/wandb/sdk/data_types/histogram.py
imports: import sys
  from typing import TYPE_CHECKING, Optional, Sequence, Tuple, Union
  from wandb import util
  from .base_types.wb_value import WBValue
label_desc: Use image node_id 3 for calling the Histogram obj's underlying member method code with example usage: obj.__sizeof__() and returns: int