AutoViML / AutoViz

Automatically Visualize any dataset, any size with a single line of code. Created by Ram Seshadri. Collaborators Welcome. Permission Granted upon Request.
Apache License 2.0
1.71k stars 197 forks source link

Normed Histogram plot with negative y value? #45

Closed shuaiwang88 closed 2 years ago

shuaiwang88 commented 3 years ago

Hi, the plots I have all has negative y values. How to interpret this?

Screen Shot 2021-09-08 at 10 04 39 PM

I think the following code generates the plots. sns.distplot(dft.loc[dft[dep]==target_var][each_conti],bins=binsize, ax= ax1, label=target_var, hist=False, kde=True, color=color2) legend_flag += 1

AutoViML commented 2 years ago

Hi @shuaiwang88

Can you please clarify?? I am not understanding your issue.

  1. Are you suggesting AutoViz did something wrong and want to change its code to the one you have shown below? sns.distplot(dft.loc[dft[dep]==target_var][each_conti],bins=binsize, ax= ax1, label=target_var, hist=False, kde=True, color=color2) legend_flag += 1

  2. Are you suggesting that AutoViz has a wrong plot but you don't know how to fix it and want me to change the code to fix it?

If it is #1, ok you can submit a pull request.

If it is #2, then I don't understand what is wrong with the plot. Can you please explain it?

Thx R