Comments (3)
@seyoulala 更新过 matplotlib
还有问题么?
pip install -U matplotlib
from toad.
@seyoulala 尝试更新一下 seaborn 和 matplotlib 再试一下,可能是因为依赖包没更新。
相关问题: #4
如果还有问题的话,可以把详细报错贴一下哈
from toad.
No handles with labels found to put in legend.
No handles with labels found to put in legend.
<matplotlib.axes._subplots.AxesSubplot at 0x7f2f07724278>
posx and posy should be finite values
posx and posy should be finite values
posx and posy should be finite values
posx and posy should be finite values
posx and posy should be finite values
posx and posy should be finite values
ValueError Traceback (most recent call last)
/opt/anaconda3/lib/python3.6/site-packages/IPython/core/formatters.py in call(self, obj)
339 pass
340 else:
--> 341 return printer(obj)
342 # Finally look for special method names
343 method = get_real_method(obj, self.print_method)
/opt/anaconda3/lib/python3.6/site-packages/IPython/core/pylabtools.py in (fig)
239
240 if 'png' in formats:
--> 241 png_formatter.for_type(Figure, lambda fig: print_figure(fig, 'png', **kwargs))
242 if 'retina' in formats or 'png2x' in formats:
243 png_formatter.for_type(Figure, lambda fig: retina_figure(fig, **kwargs))
/opt/anaconda3/lib/python3.6/site-packages/IPython/core/pylabtools.py in print_figure(fig, fmt, bbox_inches, **kwargs)
123
124 bytes_io = BytesIO()
--> 125 fig.canvas.print_figure(bytes_io, **kw)
126 data = bytes_io.getvalue()
127 if fmt == 'svg':
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/backend_bases.py in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, bbox_inches, **kwargs)
2073 orientation=orientation,
2074 bbox_inches_restore=_bbox_inches_restore,
-> 2075 **kwargs)
2076 finally:
2077 if bbox_inches and restore_bbox:
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/backends/backend_agg.py in print_png(self, filename_or_obj, *args, **kwargs)
508
509 """
--> 510 FigureCanvasAgg.draw(self)
511 renderer = self.get_renderer()
512
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/backends/backend_agg.py in draw(self)
400 toolbar = self.toolbar
401 try:
--> 402 self.figure.draw(self.renderer)
403 # A GUI class may be need to update a window using this draw, so
404 # don't forget to call the superclass.
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
48 renderer.start_filter()
49
---> 50 return draw(artist, renderer, *args, **kwargs)
51 finally:
52 if artist.get_agg_filter() is not None:
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/figure.py in draw(self, renderer)
1647
1648 mimage._draw_list_compositing_images(
-> 1649 renderer, self, artists, self.suppressComposite)
1650
1651 renderer.close_group('figure')
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite)
136 if not_composite or not has_images:
137 for a in artists:
--> 138 a.draw(renderer)
139 else:
140 # Composite any adjacent images together
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
48 renderer.start_filter()
49
---> 50 return draw(artist, renderer, *args, **kwargs)
51 finally:
52 if artist.get_agg_filter() is not None:
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/axes/_base.py in draw(self, renderer, inframe)
2626 renderer.stop_rasterizing()
2627
-> 2628 mimage._draw_list_compositing_images(renderer, self, artists)
2629
2630 renderer.close_group('axes')
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite)
136 if not_composite or not has_images:
137 for a in artists:
--> 138 a.draw(renderer)
139 else:
140 # Composite any adjacent images together
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
48 renderer.start_filter()
49
---> 50 return draw(artist, renderer, *args, **kwargs)
51 finally:
52 if artist.get_agg_filter() is not None:
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/axis.py in draw(self, renderer, *args, **kwargs)
1183 renderer.open_group(name)
1184
-> 1185 ticks_to_draw = self._update_ticks(renderer)
1186 ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_to_draw,
1187 renderer)
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/axis.py in _update_ticks(self, renderer)
1021
1022 interval = self.get_view_interval()
-> 1023 tick_tups = list(self.iter_ticks()) # iter_ticks calls the locator
1024 if self._smart_bounds and tick_tups:
1025 # handle inverted limits
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/axis.py in iter_ticks(self)
965 Iterate through all of the major and minor ticks.
966 """
--> 967 majorLocs = self.major.locator()
968 majorTicks = self.get_major_ticks(len(majorLocs))
969 self.major.formatter.set_locs(majorLocs)
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/ticker.py in call(self)
1983 def call(self):
1984 vmin, vmax = self.axis.get_view_interval()
-> 1985 return self.tick_values(vmin, vmax)
1986
1987 def tick_values(self, vmin, vmax):
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/ticker.py in tick_values(self, vmin, vmax)
1991 vmin, vmax = mtransforms.nonsingular(
1992 vmin, vmax, expander=1e-13, tiny=1e-14)
-> 1993 locs = self._raw_ticks(vmin, vmax)
1994
1995 prune = self._prune
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/ticker.py in _raw_ticks(self, vmin, vmax)
1930 if self._nbins == 'auto':
1931 if self.axis is not None:
-> 1932 nbins = np.clip(self.axis.get_tick_space(),
1933 max(1, self._min_n_ticks - 1), 9)
1934 else:
/opt/anaconda3/lib/python3.6/site-packages/matplotlib/axis.py in get_tick_space(self)
2541 size = tick.label1.get_size() * 2.0
2542 if size > 0:
-> 2543 return int(np.floor(length / size))
2544 else:
2545 return 2**31 - 1
ValueError: cannot convert float NaN to integer
from toad.
Related Issues (20)
- 关于selection.py中StatsModel的loglikelihood方法 HOT 1
- toad0.1.1在服务器内核为aarch64上安装失败 HOT 3
- IOS 安装成功,但是无法导入 HOT 1
- toad\c_utils.pyx:40:9: 'number' is not a type identifier Cython.Compiler.Errors.CompileError: toad/c_utils.pyx HOT 4
- OSX-ARM Compatibility HOT 2
- There is a problem about toad.quality HOT 2
- toad.selection执行逐步回归方法时报错:ValueError: at least one array or dtype is required HOT 1
- 使用bin_plot观察分箱时,不支持column为bool型
- Public Datasets
- toad.selection.select 可以处理字符串变量吗? HOT 4
- 请问支持多分类吗?
- Error Installation HOT 7
- toad.quality报错 HOT 1
- Combiner taking too much time to execute HOT 1
- toad linux源码安装后(python setup.py install),pip list出现两个相同版本的toad,原因是什么,如何去掉其中一个 HOT 1
- 为什么教程里的demo都跑不通呢 HOT 2
- os 系统安装错误,编译错误 HOT 7
- question HOT 2
- toad0.1.1中分箱后使用bin_plot可视化,请问如何让只分两箱的特征使用bin_plot可视化时显示两个柱子(我这边目前只能显示一个)? HOT 1
- quality方法的小困惑 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toad.