Out[124]:
<matplotlib.collections.PathCollection at 0x9b201d0>
Error in callback <function install_repl_displayhook.<locals>.post_execute at 0x06099A08> (for post_execute):
---------------------------------------------------------------------------
OverflowError Traceback (most recent call last)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\pyplot.py in post_execute()
145 def post_execute():
146 if matplotlib.is_interactive():
--> 147 draw_all()
148
149 # IPython >= 2
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\_pylab_helpers.py in draw_all(cls, force)
148 for f_mgr in cls.get_all_fig_managers():
149 if force or f_mgr.canvas.figure.stale:
--> 150 f_mgr.canvas.draw_idle()
151
152 atexit.register(Gcf.destroy_all)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\backend_bases.py in draw_idle(self, *args, **kwargs)
2024 if not self._is_idle_drawing:
2025 with self._idle_draw_cntx():
-> 2026 self.draw(*args, **kwargs)
2027
2028 def draw_cursor(self, event):
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\backends\backend_agg.py in draw(self)
472
473 try:
--> 474 self.figure.draw(self.renderer)
475 finally:
476 RendererAgg.lock.release()
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
60 def draw_wrapper(artist, renderer, *args, **kwargs):
61 before(artist, renderer)
---> 62 draw(artist, renderer, *args, **kwargs)
63 after(artist, renderer)
64
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\figure.py in draw(self, renderer)
1157 dsu.sort(key=itemgetter(0))
1158 for zorder, a, func, args in dsu:
-> 1159 func(*args)
1160
1161 renderer.close_group('figure')
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
60 def draw_wrapper(artist, renderer, *args, **kwargs):
61 before(artist, renderer)
---> 62 draw(artist, renderer, *args, **kwargs)
63 after(artist, renderer)
64
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axes\_base.py in draw(self, renderer, inframe)
2317
2318 for zorder, a in dsu:
-> 2319 a.draw(renderer)
2320
2321 renderer.close_group('axes')
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
60 def draw_wrapper(artist, renderer, *args, **kwargs):
61 before(artist, renderer)
---> 62 draw(artist, renderer, *args, **kwargs)
63 after(artist, renderer)
64
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axis.py in draw(self, renderer, *args, **kwargs)
1106 renderer.open_group(__name__)
1107
-> 1108 ticks_to_draw = self._update_ticks(renderer)
1109 ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_to_draw,
1110 renderer)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axis.py in _update_ticks(self, renderer)
949
950 interval = self.get_view_interval()
--> 951 tick_tups = [t for t in self.iter_ticks()]
952 if self._smart_bounds:
953 # handle inverted limits
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axis.py in <listcomp>(.0)
949
950 interval = self.get_view_interval()
--> 951 tick_tups = [t for t in self.iter_ticks()]
952 if self._smart_bounds:
953 # handle inverted limits
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axis.py in iter_ticks(self)
892 Iterate through all of the major and minor ticks.
893 """
--> 894 majorLocs = self.major.locator()
895 majorTicks = self.get_major_ticks(len(majorLocs))
896 self.major.formatter.set_locs(majorLocs)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in __call__(self)
1005 def __call__(self):
1006 'Return the locations of the ticks'
-> 1007 self.refresh()
1008 return self._locator()
1009
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in refresh(self)
1025 def refresh(self):
1026 'Refresh internal information based on current limits.'
-> 1027 dmin, dmax = self.viewlim_to_dt()
1028 self._locator = self.get_locator(dmin, dmax)
1029
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in viewlim_to_dt(self)
769 vmin, vmax = vmax, vmin
770
--> 771 return num2date(vmin, self.tz), num2date(vmax, self.tz)
772
773 def _get_unit(self):
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in num2date(x, tz)
417 tz = _get_rc_timezone()
418 if not cbook.iterable(x):
--> 419 return _from_ordinalf(x, tz)
420 else:
421 x = np.asarray(x)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in _from_ordinalf(x, tz)
269
270 ix = int(x)
--> 271 dt = datetime.datetime.fromordinal(ix).replace(tzinfo=UTC)
272
273 remainder = float(x) - ix
OverflowError: Python int too large to convert to C long
---------------------------------------------------------------------------
OverflowError Traceback (most recent call last)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\IPython\core\formatters.py in __call__(self, obj)
337 pass
338 else:
--> 339 return printer(obj)
340 # Finally look for special method names
341 method = _safe_get_formatter_method(obj, self.print_method)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\IPython\core\pylabtools.py in <lambda>(fig)
226
227 if 'png' in formats:
--> 228 png_formatter.for_type(Figure, lambda fig: print_figure(fig, 'png', **kwargs))
229 if 'retina' in formats or 'png2x' in formats:
230 png_formatter.for_type(Figure, lambda fig: retina_figure(fig, **kwargs))
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\IPython\core\pylabtools.py in print_figure(fig, fmt, bbox_inches, **kwargs)
117
118 bytes_io = BytesIO()
--> 119 fig.canvas.print_figure(bytes_io, **kw)
120 data = bytes_io.getvalue()
121 if fmt == 'svg':
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\backend_bases.py in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, **kwargs)
2178 orientation=orientation,
2179 dryrun=True,
-> 2180 **kwargs)
2181 renderer = self.figure._cachedRenderer
2182 bbox_inches = self.figure.get_tightbbox(renderer)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\backends\backend_agg.py in print_png(self, filename_or_obj, *args, **kwargs)
525
526 def print_png(self, filename_or_obj, *args, **kwargs):
--> 527 FigureCanvasAgg.draw(self)
528 renderer = self.get_renderer()
529 original_dpi = renderer.dpi
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\backends\backend_agg.py in draw(self)
472
473 try:
--> 474 self.figure.draw(self.renderer)
475 finally:
476 RendererAgg.lock.release()
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
60 def draw_wrapper(artist, renderer, *args, **kwargs):
61 before(artist, renderer)
---> 62 draw(artist, renderer, *args, **kwargs)
63 after(artist, renderer)
64
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\figure.py in draw(self, renderer)
1157 dsu.sort(key=itemgetter(0))
1158 for zorder, a, func, args in dsu:
-> 1159 func(*args)
1160
1161 renderer.close_group('figure')
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
60 def draw_wrapper(artist, renderer, *args, **kwargs):
61 before(artist, renderer)
---> 62 draw(artist, renderer, *args, **kwargs)
63 after(artist, renderer)
64
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axes\_base.py in draw(self, renderer, inframe)
2317
2318 for zorder, a in dsu:
-> 2319 a.draw(renderer)
2320
2321 renderer.close_group('axes')
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
60 def draw_wrapper(artist, renderer, *args, **kwargs):
61 before(artist, renderer)
---> 62 draw(artist, renderer, *args, **kwargs)
63 after(artist, renderer)
64
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axis.py in draw(self, renderer, *args, **kwargs)
1106 renderer.open_group(__name__)
1107
-> 1108 ticks_to_draw = self._update_ticks(renderer)
1109 ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_to_draw,
1110 renderer)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axis.py in _update_ticks(self, renderer)
949
950 interval = self.get_view_interval()
--> 951 tick_tups = [t for t in self.iter_ticks()]
952 if self._smart_bounds:
953 # handle inverted limits
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axis.py in <listcomp>(.0)
949
950 interval = self.get_view_interval()
--> 951 tick_tups = [t for t in self.iter_ticks()]
952 if self._smart_bounds:
953 # handle inverted limits
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\axis.py in iter_ticks(self)
892 Iterate through all of the major and minor ticks.
893 """
--> 894 majorLocs = self.major.locator()
895 majorTicks = self.get_major_ticks(len(majorLocs))
896 self.major.formatter.set_locs(majorLocs)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in __call__(self)
1005 def __call__(self):
1006 'Return the locations of the ticks'
-> 1007 self.refresh()
1008 return self._locator()
1009
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in refresh(self)
1025 def refresh(self):
1026 'Refresh internal information based on current limits.'
-> 1027 dmin, dmax = self.viewlim_to_dt()
1028 self._locator = self.get_locator(dmin, dmax)
1029
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in viewlim_to_dt(self)
769 vmin, vmax = vmax, vmin
770
--> 771 return num2date(vmin, self.tz), num2date(vmax, self.tz)
772
773 def _get_unit(self):
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in num2date(x, tz)
417 tz = _get_rc_timezone()
418 if not cbook.iterable(x):
--> 419 return _from_ordinalf(x, tz)
420 else:
421 x = np.asarray(x)
c:\users\gianna-carina\appdata\local\programs\python\python35-32\lib\site-packages\matplotlib\dates.py in _from_ordinalf(x, tz)
269
270 ix = int(x)
--> 271 dt = datetime.datetime.fromordinal(ix).replace(tzinfo=UTC)
272
273 remainder = float(x) - ix
OverflowError: Python int too large to convert to C long
<matplotlib.figure.Figure at 0x9a98950>