---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-6-ea5025fe3d2a> in <module>()
5 X, Y = np.meshgrid(range(1,11), range(1,22))
6 # print(X.shape,Y.shape)
----> 7 ax.plot_wireframe(X,Y, opt_Valuefunction, legend='asdf')
8 ax.set_xlabel("dealer")
9 ax.set_ylabel("player")
/home/guille/Projects/DeepRL/python/local/lib/python2.7/site-packages/mpl_toolkits/mplot3d/axes3d.pyc in plot_wireframe(self, X, Y, Z, *args, **kwargs)
1803 zip(txlines, tylines, tzlines)]
1804
-> 1805 linec = art3d.Line3DCollection(lines, *args, **kwargs)
1806 self.add_collection(linec)
1807 self.auto_scale_xyz(X, Y, Z, had_data)
/home/guille/Projects/DeepRL/python/local/lib/python2.7/site-packages/mpl_toolkits/mplot3d/art3d.pyc in __init__(self, segments, *args, **kwargs)
207 Keyword arguments are passed onto :func:`~matplotlib.collections.LineCollection`.
208 '''
--> 209 LineCollection.__init__(self, segments, *args, **kwargs)
210
211 def set_sort_zpos(self, val):
/home/guille/Projects/DeepRL/python/local/lib/python2.7/site-packages/matplotlib/collections.pyc in __init__(self, segments, linewidths, colors, antialiaseds, linestyles, offsets, transOffset, norm, cmap, pickradius, zorder, facecolors, **kwargs)
1145 pickradius=pickradius,
1146 zorder=zorder,
-> 1147 **kwargs)
1148
1149 self.set_segments(segments)
/home/guille/Projects/DeepRL/python/local/lib/python2.7/site-packages/matplotlib/collections.pyc in __init__(self, edgecolors, facecolors, linewidths, linestyles, antialiaseds, offsets, transOffset, norm, cmap, pickradius, hatch, urls, offset_position, zorder, **kwargs)
137
138 self._path_effects = None
--> 139 self.update(kwargs)
140 self._paths = None
141
/home/guille/Projects/DeepRL/python/local/lib/python2.7/site-packages/matplotlib/artist.pyc in update(self, props)
854 func = getattr(self, 'set_' + k, None)
855 if func is None or not six.callable(func):
--> 856 raise AttributeError('Unknown property %s' % k)
857 func(v)
858 changed = True
AttributeError: Unknown property legend