Removing null values from DP

Hi, I am trying to plot a histogram of the DP values:
p = hl.plot.histogram(mt_dnv.DP)
However, there are some null data values. Is there an inbuilt function to remove these variants without DP values?

Remove them from the histogram? They won’t get plotted anyway.

Can you share what you mean by “remove these variants” here?

When I tried to plot, I got this error:
…/hail/plot/plots.py", line 400, in histogram raise ValueError("‘data’ contains no values that are defined and finite") ValueError: ‘data’ contains no values that are defined and finite
Do you know anything that might cause this? Thank you very much, this is all still new to me.

This means there are no values to plot. What did you do upstream, before the histogram?