Friends,
The journal in which i am planning to send my paper says that the figure and panel labels should be in ‘ARIAL’ bold.
When i try to set the font as arial, i get a warning message. Someone kindly let me know what is the appropriate setting to get the font arial bold.
/usr/lib/python2.5/site-packages/matplotlib/font_manager.py:1242: UserWarning: findfont: Font family [‘sans-serif’] not found. Falling back to Bitstream Vera Sans (prop.get_family(), self.defaultFamily[fontext]))
FIG=plt.figure(figsize=(6.8,4),dpi=200)
FIG.subplots_adjust(hspace=0.02,wspace=0.02)
NROW=2;NCOL=2
TXT=[‘A’,‘B’,‘C’,‘D’]
mpl.rcParams[‘font.sans-serif’]=‘Arial’
Block 1
ax1=FIG.add_subplot(NROW,NCOL,1)
data1=np.loadtxt(flist[0],usecols=(1,)); m1=round(np.mean(data1[10001:]),2)
data2=np.loadtxt(flist[1],usecols=(1,)); m2=round(np.mean(data2[10001:]),2)
ax1.plot(data1,color=‘black’,label=str(m1))
ax1.plot(data2,color=‘red’,label=str(m2))
plt.setp(ax1.get_xticklabels(),visible=False)