Учитывая ax = plt.subplot():
ax.bar()[0] можно передать в plt.legend().
Однако ax.bar3d() возвращает None. Как создать легенду для отображаемых столбцов?
UPDATE:
Передача легенды = "материал" в ax.bar3d() и вызов ax.legend() вызывает
/usr/lib/python2.6/site-packages/matplotlib/axes.py:4368: UserWarning: No labeled objects found. Use label='...' kwarg on individual plots.
warnings.warn("No labeled objects found. "
