This code runs on python3, but on python2 I get:
Traceback (most recent call last):
File per_vs_lambda.py, line 35, in module
ax.set_xlabel (' ')
File /usr/lib64/python2.7/site-packages/matplotlib/axes/_axes.py, line
179, in set_xlabel
return self.xaxis.set_label_text(xlabel,
Have you tried making the string unicode?
ax.set_xlabel (u' ')
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs
Christian Alis wrote:
Have you tried making the string unicode?
ax.set_xlabel (u' ')
--
Oh, thanks. That works now on py2 and py3.
--