Neal Becker wrote:
Using mpl 1.4.3 on Fedora 22, I'm trying to use stix font (so I can render
the unicode lambda label on the x-axis). I have every fedora package
related to 'stix', I think. It displays ok in qtagg4, but if I try to save
to pdf if fails with
RuntimeError
Using mpl 1.4.3 on Fedora 22, I'm trying to use stix font (so I can render
the unicode lambda label on the x-axis). I have every fedora package
related to 'stix', I think. It displays ok in qtagg4, but if I try to save
to pdf if fails with
RuntimeError Traceback
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.
--
We are pleased to announce the fourth public release of HoloViews,
a Python package for simplifying the exploration of scientific data:
http://holoviews.org
HoloViews provides composable, sliceable, declarative data
structures for building even complex visualizations easily.
The goal of