Traceback (most recent call last):
File "makePlan.py", line 397, in <module>
main(args)
File "makePlan.py", line 317, in main
best_PP.planMap(useGoogle=useGoogle)
File "/Users/tcrowder/maxfield2/lib/PlanPrinterMap.py", line 312, in planMap
implot = plt.imshow(self.google_image,extent=self.xylims,origin='upper')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/pyplot.py", line 2892, in imshow
imlim=imlim, resample=resample, url=url, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axes.py", line 7300, in imshow
im.set_data(X)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/image.py", line 419, in set_data
self._A = pil_to_array(A)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/image.py", line 1347, in pil_to_array
x = toarray(im)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/image.py", line 1313, in toarray
x_str = im.tostring('raw', im.mode)
File "/Library/Python/2.7/site-packages/PIL/Image.py", line 699, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.
OSX 10.11.5 -- python installed via #brew