can someone tell me how to turn off the frame on the colorbar?
i tried this
...
cb=plt.colorbar()
plt.axes(cb.ax)
plt.box(on=False)
...
but it has no effect
thanks,
jeff
--
ThinkGeek and WIRED's GeekDad team up for the
can someone tell me how to turn off the tick marks on my plot?
i tried this
[line.set_marker('None') for line in ax.get_xticklines()]
but this turns off the labels too. i don't want to turn off the
labels, just the tick marks.
someone also suggested this
When I run the following, I get gibberish for the math symbols: ),?,
instead of alph's, beta's, ..., etc.
I believe I have all the correct fonts installed: stix, computer
modern. I have tex and latex installed.
Any suggestions? I am running FC12.
Thanks,
Jeff
1 import numpy as np
2
I found that setting
mathtext.fontset : stix
fixed the problem.
Here is the debug-annoying output when mathtext.fontset is not set:
./plotlut2.py lut2.txt figure 1a
matplotlib data path /usr/lib64/python2.6/site-packages/matplotlib/mpl-data
loaded rc file /home/jsp/.matplotlib/matplotlibrc