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
ax.xaxis.set_major_locator(pyla
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
Clearing the font cache works too. Although, judging from the debug output,
it still seems to find the fonts in the system directories. There are no
fonts in the matplotlib site-packed dir:
[...@psy86] 1014:$ ls
/usr/lib64/python2.6/site-packages/matplotlib/mpl-data/
example/ images/ lineprops
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/matplotlibr
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 impor