I got this error
xiaozheng666 opened this issue · 0 comments
Traceback (most recent call last):
File "D:\anaconda3\lib\site-packages\matplotlib\backends\backend_qt5.py", line 519, in _draw_idle
self.draw()
File "D:\anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py", line 402, in draw
self.figure.draw(self.renderer)
File "D:\anaconda3\lib\site-packages\matplotlib\artist.py", line 50, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "D:\anaconda3\lib\site-packages\matplotlib\figure.py", line 1649, in draw
renderer, self, artists, self.suppressComposite)
File "D:\anaconda3\lib\site-packages\matplotlib\image.py", line 138, in _draw_list_compositing_images
a.draw(renderer)
File "D:\anaconda3\lib\site-packages\matplotlib\artist.py", line 50, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "D:\anaconda3\lib\site-packages\matplotlib\axes_base.py", line 2628, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "D:\anaconda3\lib\site-packages\matplotlib\image.py", line 138, in _draw_list_compositing_images
a.draw(renderer)
File "D:\anaconda3\lib\site-packages\matplotlib\artist.py", line 50, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "D:\anaconda3\lib\site-packages\matplotlib\axis.py", line 1185, in draw
ticks_to_draw = self._update_ticks(renderer)
File "D:\anaconda3\lib\site-packages\matplotlib\axis.py", line 1023, in _update_ticks
tick_tups = list(self.iter_ticks()) # iter_ticks calls the locator
File "D:\anaconda3\lib\site-packages\matplotlib\axis.py", line 967, in iter_ticks
majorLocs = self.major.locator()
File "D:\anaconda3\lib\site-packages\matplotlib\ticker.py", line 1985, in call
return self.tick_values(vmin, vmax)
File "D:\anaconda3\lib\site-packages\matplotlib\ticker.py", line 1993, in tick_values
locs = self._raw_ticks(vmin, vmax)
File "D:\anaconda3\lib\site-packages\matplotlib\ticker.py", line 1932, in _raw_ticks
nbins = np.clip(self.axis.get_tick_space(),
File "D:\anaconda3\lib\site-packages\matplotlib\axis.py", line 2154, in get_tick_space
tick = self._get_tick(True)
File "D:\anaconda3\lib\site-packages\matplotlib\axis.py", line 1818, in _get_tick
return XTick(self.axes, 0, '', major=major, **tick_kw)
File "D:\anaconda3\lib\site-packages\matplotlib\axis.py", line 172, in init
self.apply_tickdir(tickdir)
File "D:\anaconda3\lib\site-packages\matplotlib\axis.py", line 429, in apply_tickdir
self.stale = True
File "D:\anaconda3\lib\site-packages\matplotlib\artist.py", line 236, in stale
self.stale_callback(self, val)
File "D:\anaconda3\lib\site-packages\matplotlib\artist.py", line 63, in _stale_axes_callback
self.axes.stale = val
File "D:\anaconda3\lib\site-packages\matplotlib\artist.py", line 236, in stale
self.stale_callback(self, val)
File "D:\anaconda3\lib\site-packages\matplotlib\figure.py", line 57, in _stale_figure_callback
self.figure.stale = val
File "D:\anaconda3\lib\site-packages\matplotlib\artist.py", line 236, in stale
self.stale_callback(self, val)
File "D:\anaconda3\lib\site-packages\matplotlib\pyplot.py", line 568, in _auto_draw_if_interactive
if val and matplotlib.is_interactive() and not fig.canvas.is_saving():
RecursionError: maximum recursion depth exceeded
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::end: Painter not active, aborted
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1