每次我导入pandas
时,都会从matplotlib
获得一个警告:
/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py:872: UserWarning: axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latter.
warnings.warn(self.msg_depr % (key, alt_key))
最好的抑制方法是什么?所有软件包均已更新。
配置信息:使用brew安装的Python 2.7.10(默认为Jul 13 2015, 12:05:58),pandas版本为0.17.0,matplotlib版本为1.5.0