Skip to content

Instantly share code, notes, and snippets.

@lstagner
Created April 7, 2016 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lstagner/5fe1dc61653baac0c2a68ac0f8f27c6a to your computer and use it in GitHub Desktop.
Save lstagner/5fe1dc61653baac0c2a68ac0f8f27c6a to your computer and use it in GitHub Desktop.
LoadError: PyError (:PyObject_Call) <class 'AttributeError'>
AttributeError("'PathCollection' object has no attribute 'do_3d_projection'",)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 2273, in scatter
patches = Axes.scatter(self, xs, ys, s=s, c=c, *args, **kwargs)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/__init__.py", line 1812, in inner
return func(ax, *args, **kwargs)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_axes.py", line 3922, in scatter
self.add_collection(collection)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 1676, in add_collection
collection.set_clip_path(self.patch)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 711, in set_clip_path
self.stale = True
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 267, in stale
self.stale_callback(self, val)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 74, in _stale_axes_callback
self.axes.stale = val
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 267, in stale
self.stale_callback(self, val)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 56, in _stale_figure_callback
self.figure.stale = val
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 267, in stale
self.stale_callback(self, val)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/pyplot.py", line 568, in _auto_draw_if_interactive
fig.canvas.draw_idle()
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/backend_bases.py", line 2026, in draw_idle
self.draw(*args, **kwargs)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/backends/backend_agg.py", line 474, in draw
self.figure.draw(self.renderer)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 61, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1159, in draw
func(*args)
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 271, in draw
for col in self.collections]
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 271, in <listcomp>
for col in self.collections]
while loading In[8], in expression starting on line 25
in getindex at /home/lstagner/.julia/v0.4/PyCall/src/PyCall.jl:228
in pysequence_query at /home/lstagner/.julia/v0.4/PyCall/src/conversions.jl:717
[inlined code] from /home/lstagner/.julia/v0.4/PyCall/src/conversions.jl:733
in pytype_query at /home/lstagner/.julia/v0.4/PyCall/src/conversions.jl:762
in convert at /home/lstagner/.julia/v0.4/PyCall/src/conversions.jl:782
in pycall at /home/lstagner/.julia/v0.4/PyCall/src/PyCall.jl:363
in call at /home/lstagner/.julia/v0.4/PyCall/src/PyCall.jl:372
in close_queued_figs at /home/lstagner/.julia/v0.4/PyPlot/src/PyPlot.jl:401
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment