Skip to content

Instantly share code, notes, and snippets.

@parkr
Created August 10, 2014 03:42
Show Gist options
  • Save parkr/2f689a2fcaf8d60dac96 to your computer and use it in GitHub Desktop.
Save parkr/2f689a2fcaf8d60dac96 to your computer and use it in GitHub Desktop.
/usr/local/lib/python2.7/site-packages/numpy/core/_methods.py:55: RuntimeWarning: Mean of empty slice.
warnings.warn("Mean of empty slice.", RuntimeWarning)
/usr/local/lib/python2.7/site-packages/numpy/core/_methods.py:67: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Aug 9 23:38:03 Parkers-MacBook-Pro.local Python[75776] <Error>: void CGPathCloseSubpath(CGMutablePathRef): no current point.
Traceback (most recent call last):
File "battery_plotter.py", line 458, in <module>
sys.exit(main())
File "battery_plotter.py", line 74, in main
plot_correlation(batt_d[xq], xq, batt_d[yq], yq, outdir=args.outdir)
File "battery_plotter.py", line 370, in plot_correlation
plt.savefig(pjoin(outdir, "batt_log_corr_%s_vs_%s.pdf" % (xlab, ylab)))
File "/usr/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 561, in savefig
return fig.savefig(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/figure.py", line 1421, in savefig
self.canvas.print_figure(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 2220, in print_figure
**kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 1952, in print_pdf
return pdf.print_pdf(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py", line 2352, in print_pdf
self.figure.draw(renderer)
File "/usr/local/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/figure.py", line 1034, in draw
func(*args)
File "/usr/local/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/axes.py", line 2086, in draw
a.draw(renderer)
File "/usr/local/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/lines.py", line 622, in draw
rgbaFace)
File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py", line 1612, in draw_markers
for vertices, code in path.iter_segments(trans, simplify=False):
File "/usr/local/lib/python2.7/site-packages/matplotlib/path.py", line 415, in iter_segments
num_vertices = NUM_VERTICES_FOR_CODE[code]
KeyboardInterrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment