Windows XP SP2 / MPL 0.98 / NumPy 1.1
I wrote some code which has the following line
ax1.yaxis.set_major_locator(MLT.LinearLocator(numticks=10))
I now get the error
AttributeError: LinearLocator instance has no attribute 'verify_intervals'
This was working fine with the previous version of MPL.
Mike -- thanks for your response. I thought I had tried this and it didn't
work. I guess I didn't I just tried the following equivalent approach:
ML.rcParams['font.family'] = 'serif'
ML.rcParams['font.serif'] = ['Cambria Math'] + ML.rcParams['font.serif']
and it worked like a charm.
Thanks
The following script creates a chart in pdf format. All the text on the chart
is searchable. I need to create a chart which will be put in a MS Word 2007
document (as part of a much larger document) and then converted to a Pdf.
Which format should my chart be and which backend should I use? Thu
I would like to be able to use Cambria font
(http://en.wikipedia.org/wiki/Cambria_(typeface)) for all text on my charts.
I am adding these charts to a MS Word 2007 document written in the same font.
I tried to add Cambria as the fist string in rcsetup.py | defaultParams |
'font.serif'. That