neuralib.plot.plot.axvline_histplot

neuralib.plot.plot.axvline_histplot(ax, values, cutoff, bins=30, *, mask=None, **kwargs)[source]

Plot the histogram with a cutoff value

Parameters:
  • ax (Axes) – Axes

  • values (ndarray) – 1d array. Array[float, N]

  • cutoff (float) – cutoff (threshold) value for the certain value, >= represents pass

  • bins (int) – passed to numpy.histogram()

  • mask (ndarray | None) – mask for value. i.e., cell selection. Array[bool, N]

  • kwargs – passed to ax.set

Return type:

None