Reputation: 2886
Following the sample here:
I was able to recreate what I want to accomplish, a PairGrid with KDE plotted in the off-diagonal from the above example.
However, with my own data, the KDE contour plots are not generated.
Apart from hosting the raw data somewhere for someone to test, is there something I should look out for? There are no NaN
or np.inf
anywhere in the data. If there are common things to lookout for, please let me know.
Upvotes: 1
Views: 316
Reputation: 2886
If your KDE contour plots do not display, it could be that you have zero-values in your series. This turns out to have been my problem, though no error or warning was thrown. Simply replacing 0
values with np.nan
then dropping all np.nan
solved my issue.
Upvotes: 2