-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: cannot convert float NaN to integer #4
Comments
@yangyangtongxue 有完整的报错信息么? |
ValueError Traceback (most recent call last) E:\Anaconda\lib\site-packages\IPython\core\pylabtools.py in (fig) E:\Anaconda\lib\site-packages\IPython\core\pylabtools.py in print_figure(fig, fmt, bbox_inches, **kwargs) E:\Anaconda\lib\site-packages\matplotlib\backend_bases.py in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, bbox_inches, **kwargs) E:\Anaconda\lib\site-packages\matplotlib\backends\backend_agg.py in print_png(self, filename_or_obj, *args, **kwargs) E:\Anaconda\lib\site-packages\matplotlib\backends\backend_agg.py in draw(self) E:\Anaconda\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) E:\Anaconda\lib\site-packages\matplotlib\figure.py in draw(self, renderer) E:\Anaconda\lib\site-packages\matplotlib\image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite) E:\Anaconda\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) E:\Anaconda\lib\site-packages\matplotlib\axes_base.py in draw(self, renderer, inframe) E:\Anaconda\lib\site-packages\matplotlib\image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite) E:\Anaconda\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) E:\Anaconda\lib\site-packages\matplotlib\axis.py in draw(self, renderer, *args, **kwargs) E:\Anaconda\lib\site-packages\matplotlib\axis.py in _update_ticks(self, renderer) E:\Anaconda\lib\site-packages\matplotlib\axis.py in iter_ticks(self) E:\Anaconda\lib\site-packages\matplotlib\ticker.py in call(self) E:\Anaconda\lib\site-packages\matplotlib\ticker.py in tick_values(self, vmin, vmax) E:\Anaconda\lib\site-packages\matplotlib\ticker.py in _raw_ticks(self, vmin, vmax) E:\Anaconda\lib\site-packages\matplotlib\axis.py in get_tick_space(self) ValueError: cannot convert float NaN to integer |
|
@yangyangtongxue 更新一下你的 matplotlib 再试一下,看样子不是 toad 的问题,像是显示的时候的问题. |
当我执行分箱画图时报错,不知道怎么解决,烦请作者有时间看下
![image](https://user-images.githubusercontent.com/39020254/69799671-b42e5980-120e-11ea-8e21-435dc50124e2.png)
The text was updated successfully, but these errors were encountered: