svdhoog / FLAViz

FLAViz: Flexible Large-scale Agent Visualization Library
GNU General Public License v3.0
1 stars 4 forks source link

Warning about kwarg being deprecated #26

Closed svdhoog closed 6 years ago

svdhoog commented 6 years ago

This is probably not something we do, but in a module we call?:

/usr/local/lib/python3.4/dist-packages/matplotlib/axes/_axes.py:6462:` UserWarning: The 'normed' kwarg is deprecated, and has been replaced by the 'density' kwarg.
  warnings.warn("The 'normed' kwarg is deprecated, and has been "
0xfabi commented 6 years ago

https://github.com/mwaskom/seaborn/issues/1392

It seems like this issue was fixed but there is no stable release until now. But it should be released soon.

svdhoog commented 6 years ago

Temporary solution already provided by russtoku:

Sorry, but it appears that the seaborn 0.8.1 package from conda 4.5.0 is lacking this patch. In line 214 of seaborn/distributions.py, I changed "normed" to "norm_hist" and the warning message is gone. Thanks!